comparison hgext/keyword.py @ 51700:7f0cb9ee0534

Backout accidental publication of a large range of revisions I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 23 Jul 2024 10:02:46 +0200
parents 493034cc3265
children ca7bde5dbafb
comparison
equal deleted inserted replaced
51699:bd1483fd7088 51700:7f0cb9ee0534
158 configitem( 158 configitem(
159 b'keywordset', 159 b'keywordset',
160 b'svn', 160 b'svn',
161 default=False, 161 default=False,
162 ) 162 )
163
164
165 # date like in cvs' $Date 163 # date like in cvs' $Date
166 @templatefilter(b'utcdate', intype=templateutil.date) 164 @templatefilter(b'utcdate', intype=templateutil.date)
167 def utcdate(date): 165 def utcdate(date):
168 """Date. Returns a UTC-date in this format: "2009/08/18 11:00:13".""" 166 """Date. Returns a UTC-date in this format: "2009/08/18 11:00:13"."""
169 dateformat = b'%Y/%m/%d %H:%M:%S' 167 dateformat = b'%Y/%m/%d %H:%M:%S'