# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1521882203 -32400 # Sat Mar 24 18:03:23 2018 +0900 # Node ID bc18058428fc50a9da867e9fd8a3c9f15f133851 # Parent cb223b044175c8444053bd55aa6d78992243c30a 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 _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel