diff -r 4ee493ea1c13 -r d4b108fdf423 mercurial/debugcommands.py --- a/mercurial/debugcommands.py Wed Nov 29 08:39:48 2017 +0530 +++ b/mercurial/debugcommands.py Wed Nov 29 08:40:25 2017 +0530 @@ -721,6 +721,7 @@ else: timestr = time.strftime(r"%Y-%m-%d %H:%M:%S ", time.localtime(ent[3])) + timestr = encoding.strtolocal(timestr) if ent[1] & 0o20000: mode = 'lnk' else: