--- vcpx/bzr.py.orig +++ vcpx/bzr.py @@ -180,7 +180,7 @@ """ Commit the changeset. """ - from time import mktime + from time import mktime, gmtime from binascii import hexlify from re import search from bzrlib.osutils import compact_date, rand_bytes @@ -196,7 +196,9 @@ else: self.log.info('Committing...') logmessage = "Empty changelog" - timestamp = int(mktime(date.timetuple())) + + t = int(mktime(date.utctimetuple())) + timestamp = 2*t - mktime(gmtime(t)) # Guess sane email address email = search("<(.*@.*)>", author)