hgext/convert/hg.py
branchstable
changeset 16514 363e808de349
parent 16162 7e279d475669
child 16683 525fdb738975
--- a/hgext/convert/hg.py	Tue Apr 24 14:34:54 2012 +0200
+++ b/hgext/convert/hg.py	Thu Apr 26 02:41:20 2012 +0900
@@ -342,7 +342,8 @@
             crev = rev
         else:
             crev = None
-        return commit(author=ctx.user(), date=util.datestr(ctx.date()),
+        return commit(author=ctx.user(),
+                      date=util.datestr(ctx.date(), '%Y-%m-%d %H:%M:%S %1%2'),
                       desc=ctx.description(), rev=crev, parents=parents,
                       branch=ctx.branch(), extra=ctx.extra(),
                       sortkey=ctx.rev())