mercurial/logcmdutil.py
changeset 36607 c6061cadb400
parent 36517 69477bac8926
child 36920 6ff6e1d6b5b8
--- a/mercurial/logcmdutil.py	Thu Feb 08 23:27:24 2018 +0530
+++ b/mercurial/logcmdutil.py	Thu Feb 15 17:18:26 2018 +0100
@@ -35,6 +35,7 @@
     templater,
     util,
 )
+from .utils import dateutil
 
 def getlimit(opts):
     """get the log limit according to option -l/--limit"""
@@ -229,7 +230,7 @@
                           % scmutil.formatrevnode(self.ui, mrev, mnode),
                           label='ui.debug log.manifest')
         self.ui.write(columns['user'] % ctx.user(), label='log.user')
-        self.ui.write(columns['date'] % util.datestr(ctx.date()),
+        self.ui.write(columns['date'] % dateutil.datestr(ctx.date()),
                       label='log.date')
 
         if ctx.isunstable():