# HG changeset patch # User Matt Harbison # Date 2019-12-15 23:30:16 # Node ID 38d6aa7683100f797c32212aa04443ac7b8a98a0 # Parent e63b27fb0595ecbeaae7738c7938131c499fea11 debugcommands: finish moving `extendeddateformats` from util to dateutil Caught by pytype. Differential Revision: https://phab.mercurial-scm.org/D7671 diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py --- a/mercurial/debugcommands.py +++ b/mercurial/debugcommands.py @@ -653,7 +653,7 @@ def debugdata(ui, repo, file_, rev=None, 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)