Mercurial > hg
changeset 38300:74b4a54002ec
templatefilters: undeprecate hgdate
See the previous patch for why.
Backed out changeset 0fe65bb7e160
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 13 Jun 2018 21:58:42 +0900 |
parents | 88e7105b5cd9 |
children | 1fb2510cf8c8 |
files | mercurial/templatefilters.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templatefilters.py Wed Jun 13 21:57:24 2018 +0900 +++ b/mercurial/templatefilters.py Wed Jun 13 21:58:42 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). (DEPRECATED) + 25200" (Unix timestamp, timezone offset). """ return "%d %d" % text