mercurial/changelog.py
changeset 36607 c6061cadb400
parent 36228 ddeb7653b31c
child 37084 f0b6fbea00cf
--- a/mercurial/changelog.py	Thu Feb 08 23:27:24 2018 +0530
+++ b/mercurial/changelog.py	Thu Feb 15 17:18:26 2018 +0100
@@ -24,6 +24,7 @@
     revlog,
     util,
 )
+from .utils import dateutil
 
 _defaultextra = {'branch': 'default'}
 
@@ -524,9 +525,9 @@
         desc = stripdesc(desc)
 
         if date:
-            parseddate = "%d %d" % util.parsedate(date)
+            parseddate = "%d %d" % dateutil.parsedate(date)
         else:
-            parseddate = "%d %d" % util.makedate()
+            parseddate = "%d %d" % dateutil.makedate()
         if extra:
             branch = extra.get("branch")
             if branch in ("default", ""):