Mercurial > hg
changeset 38287: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 | 851fc9d42d6d |
children | a9de1d28681c |
files | mercurial/templatefilters.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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