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