diff mercurial/templater.py @ 38297:8d6109b49b31

templater: introduce a wrapper for date tuple (BC) Strictly speaking, this is BC, but I believe the original string format (str(float(unixtime)) + str(int(tzoffset))) was just plain wrong.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 24 Mar 2018 17:54:02 +0900
parents 0e0d03d09ecd
children de089e3eb328
line wrap: on
line diff
--- a/mercurial/templater.py	Sat Apr 21 19:01:35 2018 +0900
+++ b/mercurial/templater.py	Sat Mar 24 17:54:02 2018 +0900
@@ -35,8 +35,8 @@
 wrappedbytes, wrappedvalue
     a wrapper for the above printable types.
 
-date tuple
-    a (unixtime, offset) tuple, which produces no meaningful output by itself.
+date
+    represents a (unixtime, offset) tuple.
 
 hybrid
     represents a list/dict of printable values, which can also be converted