# HG changeset patch # User Giorgos Keramidas # Date 1205774274 -7200 # Node ID 8999d12491719212d8b660a22dee074216b94c2d # Parent 308988071b909da3aa86c3480f49201c1be2a150 Add an {isodatesec} template, to show seconds too. diff -r 308988071b90 -r 8999d1249171 mercurial/templatefilters.py --- 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,