Show More
@@ -52,7 +52,8 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 |
|
|
55 | return encoding.strtolocal( | |
|
56 | date.strftime(encoding.strfromlocal(opts['dateformat']))) | |
|
56 | 57 | else: |
|
57 | 58 | tmpl = opts.get('oldtemplate') or opts.get('template') |
|
58 | 59 | tmpl = logcmdutil.maketemplater(ui, repo, tmpl) |
General Comments 0
You need to be logged in to leave comments.
Login now