hgext/convert/p4.py
branchstable
changeset 16514 363e808de349
parent 12891 b69fd38a034e
child 21758 c27a37678508
--- a/hgext/convert/p4.py	Tue Apr 24 14:34:54 2012 +0200
+++ b/hgext/convert/p4.py	Thu Apr 26 02:41:20 2012 +0900
@@ -119,7 +119,8 @@
                 parents = []
 
             date = (int(d["time"]), 0)     # timezone not set
-            c = commit(author=self.recode(d["user"]), date=util.datestr(date),
+            c = commit(author=self.recode(d["user"]),
+                       date=util.datestr(date, '%Y-%m-%d %H:%M:%S %1%2'),
                        parents=parents, desc=desc, branch='',
                        extra={"p4": change})