#include <QTextStream>
#include <QDebug>
#include <QLinkedList>
+#include <time.h>
static const int maxSimultaneousProcesses = 100;
QTextStream s(&repository->fastImport);
s << "commit " << branchRef << endl;
- s << "committer " << QString::fromUtf8(author) << ' ' << datetime << " -0000" << endl;
+ time_t t = datetime;
+ char zone[16];
+ strftime(zone, sizeof(zone), " %z", localtime(&t));
+ s << "committer " << QString::fromUtf8(author) << ' ' << datetime << zone << endl;
Branch &br = repository->branches[branch];
if (!br.created) {