hgext/journal.py
changeset 36607 c6061cadb400
parent 36159 0fe7e39dc683
child 36653 2f7a3c90c0d7
--- a/hgext/journal.py	Thu Feb 08 23:27:24 2018 +0530
+++ b/hgext/journal.py	Thu Feb 15 17:18:26 2018 +0100
@@ -35,6 +35,7 @@
     registrar,
     util,
 )
+from mercurial.utils import dateutil
 
 cmdtable = {}
 command = registrar.command(cmdtable)
@@ -326,7 +327,7 @@
             newhashes = [newhashes]
 
         entry = journalentry(
-            util.makedate(), self.user, self.command, namespace, name,
+            dateutil.makedate(), self.user, self.command, namespace, name,
             oldhashes, newhashes)
 
         vfs = self.vfs