mercurial/templater.py
changeset 5269 46c5e1ee8aaa
parent 4745 e21a0e12ff10
child 5915 d0576d065993
--- a/mercurial/templater.py	Wed Aug 29 17:01:10 2007 -0700
+++ b/mercurial/templater.py	Thu Aug 30 16:42:17 2007 +0200
@@ -270,6 +270,7 @@
     "permissions": permissions,
     "person": person,
     "rfc822date": lambda x: util.datestr(x, "%a, %d %b %Y %H:%M:%S"),
+    "rfc3339date": lambda x: util.datestr(x, "%Y-%m-%dT%H:%M:%S", True, "%+03d:%02d"),
     "short": lambda x: x[:12],
     "shortdate": shortdate,
     "stringify": stringify,