--- a/mercurial/changelog.py Thu Feb 08 23:27:24 2018 +0530
+++ b/mercurial/changelog.py Thu Feb 15 17:18:26 2018 +0100
@@ -24,6 +24,7 @@
revlog,
util,
)
+from .utils import dateutil
_defaultextra = {'branch': 'default'}
@@ -524,9 +525,9 @@
desc = stripdesc(desc)
if date:
- parseddate = "%d %d" % util.parsedate(date)
+ parseddate = "%d %d" % dateutil.parsedate(date)
else:
- parseddate = "%d %d" % util.makedate()
+ parseddate = "%d %d" % dateutil.makedate()
if extra:
branch = extra.get("branch")
if branch in ("default", ""):