# HG changeset patch # User Christian Ebert # Date 1265317122 0 # Node ID f64160f28b3f27f8449ace7bfaccd44eee5d401f # Parent ec5240a22f4a8479ac6f58d643a667498eb19eb9 keyword: fix utcdate filter So far the utcdate filter only omitted the timezone, now it actually converts to utc. Thanks to Kevin Grover for pointing out the issue. diff -r ec5240a22f4a -r f64160f28b3f hgext/keyword.py --- a/hgext/keyword.py Sat Feb 06 12:47:33 2010 +0100 +++ b/hgext/keyword.py Thu Feb 04 20:58:42 2010 +0000 @@ -97,7 +97,7 @@ ' transplant') # provide cvs-like UTC date filter -utcdate = lambda x: util.datestr(x, '%Y/%m/%d %H:%M:%S') +utcdate = lambda x: util.datestr((x[0], 0), '%Y/%m/%d %H:%M:%S') # make keyword tools accessible kwtools = {'templater': None, 'hgcmd': '', 'inc': [], 'exc': ['.hg*']}