Mercurial > hg
changeset 6319:8999d1249171
Add an {isodatesec} template, to show seconds too.
author | Giorgos Keramidas <keramida@ceid.upatras.gr> |
---|---|
date | Mon, 17 Mar 2008 19:17:54 +0200 |
parents | 308988071b90 |
children | 9a9b02bcbcf4 |
files | mercurial/templatefilters.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templatefilters.py Mon Mar 17 12:41:14 2008 -0700 +++ b/mercurial/templatefilters.py Mon Mar 17 19:17:54 2008 +0200 @@ -136,6 +136,7 @@ "tabindent": lambda x: indent(x, '\t'), "hgdate": lambda x: "%d %d" % x, "isodate": lambda x: util.datestr(x, '%Y-%m-%d %H:%M %1%2'), + "isodatesec": lambda x: util.datestr(x, '%Y-%m-%d %H:%M:%S %1%2'), "obfuscate": obfuscate, "permissions": permissions, "person": person,