hgext/journal.py
changeset 29693 e54bdd3aa23b
parent 29691 69890b5dd32b
child 29768 46d9a5bb2fb0
--- a/hgext/journal.py	Sun Jul 31 17:07:29 2016 +0900
+++ b/hgext/journal.py	Sun Jul 31 17:11:48 2016 +0900
@@ -488,7 +488,7 @@
             opts.get('all') or name.startswith('re:'),
             'name', '  %-8s', entry.name)
 
-        timestring = util.datestr(entry.timestamp, '%Y-%m-%d %H:%M %1%2')
+        timestring = fm.formatdate(entry.timestamp, '%Y-%m-%d %H:%M %1%2')
         fm.condwrite(ui.verbose, 'date', ' %s', timestring)
         fm.write('command', '  %s\n', entry.command)