# HG changeset patch # User Yuya Nishihara # Date 2018-03-24 09:03:23 # Node ID 0fe65bb7e160437a90b7f8e1bac580a5a65e50bd # Parent 851fc9d42d6d40e2b61f7bf64c1415a4b68594c5 templatefilters: deprecate hgdate as {date|hgdate} is the default format diff --git a/mercurial/templatefilters.py b/mercurial/templatefilters.py --- a/mercurial/templatefilters.py +++ b/mercurial/templatefilters.py @@ -241,7 +241,7 @@ def hexfilter(text): @templatefilter('hgdate', intype=templateutil.date) def hgdate(text): """Date. Returns the date as a pair of numbers: "1157407993 - 25200" (Unix timestamp, timezone offset). + 25200" (Unix timestamp, timezone offset). (DEPRECATED) """ return "%d %d" % text