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