hgext/patchbomb.py
changeset 36607 c6061cadb400
parent 36450 d478c8cd89d1
child 36668 e77cee5de1c7
--- a/hgext/patchbomb.py	Thu Feb 08 23:27:24 2018 +0530
+++ b/hgext/patchbomb.py	Thu Feb 15 17:18:26 2018 +0100
@@ -99,6 +99,7 @@
     templater,
     util,
 )
+from mercurial.utils import dateutil
 stringio = util.stringio
 
 cmdtable = {}
@@ -665,9 +666,9 @@
 
     # start
     if date:
-        start_time = util.parsedate(date)
+        start_time = dateutil.parsedate(date)
     else:
-        start_time = util.makedate()
+        start_time = dateutil.makedate()
 
     def genmsgid(id):
         return '<%s.%d@%s>' % (id[:20], int(start_time[0]),