# HG changeset patch # User Yuya Nishihara # Date 2018-06-13 12:58:42 # Node ID 74b4a54002ecb2059612d5e69ba204d05c818542 # Parent 88e7105b5cd927ae0ecbe5dcc21c6125c4af4a6b templatefilters: undeprecate hgdate See the previous patch for why. Backed out changeset 0fe65bb7e160 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). (DEPRECATED) + 25200" (Unix timestamp, timezone offset). """ return "%d %d" % text