# HG changeset patch # User Christian Ebert # Date 1265388631 0 # Node ID c15f0019c15b3c8ca11340b56cd2b8bbce200204 # Parent 0efa9d6ac11f08e8dcb6b2e58c466bfe4e652907 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 0efa9d6ac11f -r c15f0019c15b hgkw/keyword.py --- a/hgkw/keyword.py Tue Jan 19 22:20:08 2010 -0600 +++ b/hgkw/keyword.py Fri Feb 05 16:50:31 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*']}