# HG changeset patch # User Yuya Nishihara # Date 1521882203 -32400 # Node ID 0fe65bb7e160437a90b7f8e1bac580a5a65e50bd # Parent 851fc9d42d6d40e2b61f7bf64c1415a4b68594c5 templatefilters: deprecate hgdate as {date|hgdate} is the default format diff -r 851fc9d42d6d -r 0fe65bb7e160 mercurial/templatefilters.py --- a/mercurial/templatefilters.py Sat Mar 24 17:59:19 2018 +0900 +++ b/mercurial/templatefilters.py Sat Mar 24 18:03:23 2018 +0900 @@ -241,7 +241,7 @@ @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