# HG changeset patch # User Bryan O'Sullivan # Date 1127448957 25200 # Node ID 008d3666bf41b49a40bd16933de0964a65139caa # Parent b650bfdfc7ee1e2d3d596d9de8cbc5bfca30b832 Print commit time/date from perspective of committer. Previously, it was printed in the time zone of the reader, but with the committer's time zone offset. It is now consistent. diff -r b650bfdfc7ee -r 008d3666bf41 mercurial/commands.py --- a/mercurial/commands.py Thu Sep 22 10:12:42 2005 -0700 +++ b/mercurial/commands.py Thu Sep 22 21:15:57 2005 -0700 @@ -329,7 +329,7 @@ tz = int(tz) except ValueError: tz = 0 - date = time.asctime(time.localtime(float(t))) + " %+05d" % (int(tz)/-36) + date = time.asctime(time.gmtime(float(t) - tz)) + " %+05d" % (int(tz)/-36) parents = [(log.rev(p), ui.verbose and hex(p) or short(p)) for p in log.parents(changenode)