changeset 38066 | 543b7b349b2c |
parent 36607 | c6061cadb400 |
child 38082 | 1978abdb216c |
--- a/hgext/churn.py Sat May 19 21:47:59 2018 +0530 +++ b/hgext/churn.py Sat May 19 18:21:21 2018 +0530 @@ -52,7 +52,7 @@ def getkey(ctx): t, tz = ctx.date() date = datetime.datetime(*time.gmtime(float(t) - tz)[:6]) - return date.strftime(opts['dateformat']) + return date.strftime(pycompat.sysstr(opts['dateformat'])) else: tmpl = opts.get('oldtemplate') or opts.get('template') tmpl = logcmdutil.maketemplater(ui, repo, tmpl)