Show More
@@ -52,7 +52,7 b' def countrate(ui, repo, amap, *pats, **o' | |||
|
52 | 52 | def getkey(ctx): |
|
53 | 53 | t, tz = ctx.date() |
|
54 | 54 | date = datetime.datetime(*time.gmtime(float(t) - tz)[:6]) |
|
55 | return date.strftime(opts['dateformat']) | |
|
55 | return date.strftime(pycompat.sysstr(opts['dateformat'])) | |
|
56 | 56 | else: |
|
57 | 57 | tmpl = opts.get('oldtemplate') or opts.get('template') |
|
58 | 58 | tmpl = logcmdutil.maketemplater(ui, repo, tmpl) |
General Comments 0
You need to be logged in to leave comments.
Login now