Mercurial > public > mercurial-scm > hg-stable
diff mercurial/templatefilters.py @ 38299:0fe65bb7e160
templatefilters: deprecate hgdate as {date|hgdate} is the default format
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 24 Mar 2018 18:03:23 +0900 |
parents | 56dd15178190 |
children | 74b4a54002ec |
line wrap: on
line diff
--- 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