changeset 43878:38d6aa768310

debugcommands: finish moving `extendeddateformats` from util to dateutil Caught by pytype. Differential Revision: https://phab.mercurial-scm.org/D7671
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 15 Dec 2019 18:30:16 -0500
parents e63b27fb0595
children 40bd667491a7
files mercurial/debugcommands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)