mercurial/ui.py
changeset 36636 c6061cadb400
parent 36452 04c319a07c7b
child 36754 8988c34bd018
--- a/mercurial/ui.py	Thu Feb 08 23:27:24 2018 +0530
+++ b/mercurial/ui.py	Thu Feb 15 17:18:26 2018 +0100
@@ -37,6 +37,7 @@
     scmutil,
     util,
 )
+from .utils import dateutil
 
 urlreq = util.urlreq
 
@@ -714,7 +715,7 @@
         (0, 0)
         """
         if self.config(section, name, default, untrusted):
-            return self.configwith(util.parsedate, section, name, default,
+            return self.configwith(dateutil.parsedate, section, name, default,
                                    'date', untrusted)
         if default is _unset:
             return None