hgext/convert/convcmd.py
changeset 36607 c6061cadb400
parent 36558 d4c98b6724e1
child 37888 73ca1c5e65f8
--- a/hgext/convert/convcmd.py	Thu Feb 08 23:27:24 2018 +0530
+++ b/hgext/convert/convcmd.py	Thu Feb 15 17:18:26 2018 +0100
@@ -19,6 +19,7 @@
     scmutil,
     util,
 )
+from mercurial.utils import dateutil
 
 from . import (
     bzr,
@@ -355,7 +356,7 @@
             dates = {}
             def getdate(n):
                 if n not in dates:
-                    dates[n] = util.parsedate(self.commitcache[n].date)
+                    dates[n] = dateutil.parsedate(self.commitcache[n].date)
                 return dates[n]
 
             def picknext(nodes):