debugcommands: finish moving `extendeddateformats` from util to dateutil
authorMatt Harbison <matt_harbison@yahoo.com>
Sun, 15 Dec 2019 18:30:16 -0500
changeset 43878 38d6aa768310
parent 43877 e63b27fb0595
child 43879 40bd667491a7
debugcommands: finish moving `extendeddateformats` from util to dateutil Caught by pytype. Differential Revision: https://phab.mercurial-scm.org/D7671
mercurial/debugcommands.py
--- a/mercurial/debugcommands.py	Sat Dec 14 18:31:50 2019 -0500
+++ b/mercurial/debugcommands.py	Sun Dec 15 18:30:16 2019 -0500
@@ -653,7 +653,7 @@
 def debugdate(ui, date, range=None, **opts):
     """parse and display a date"""
     if opts["extended"]:
-        d = dateutil.parsedate(date, util.extendeddateformats)
+        d = dateutil.parsedate(date, dateutil.extendeddateformats)
     else:
         d = dateutil.parsedate(date)
     ui.writenoi18n(b"internal: %d %d\n" % d)