mercurial/formatter.py
changeset 38285 8d6109b49b31
parent 37839 395571419274
child 38356 8221df643176
--- a/mercurial/formatter.py	Sat Apr 21 19:01:35 2018 +0900
+++ b/mercurial/formatter.py	Sat Mar 24 17:54:02 2018 +0900
@@ -367,7 +367,7 @@
     @staticmethod
     def formatdate(date, fmt):
         '''return date tuple'''
-        return date
+        return templateutil.date(date)
     @staticmethod
     def formatdict(data, key, value, fmt, sep):
         '''build object that can be evaluated as either plain string or dict'''