##// END OF EJS Templates
templatefilters: deprecate hgdate as {date|hgdate} is the default format
Yuya Nishihara -
r38543:0fe65bb7 default
parent child Browse files
Show More
@@ -241,7 +241,7 b' def hexfilter(text):'
241 @templatefilter('hgdate', intype=templateutil.date)
241 @templatefilter('hgdate', intype=templateutil.date)
242 def hgdate(text):
242 def hgdate(text):
243 """Date. Returns the date as a pair of numbers: "1157407993
243 """Date. Returns the date as a pair of numbers: "1157407993
244 25200" (Unix timestamp, timezone offset).
244 25200" (Unix timestamp, timezone offset). (DEPRECATED)
245 """
245 """
246 return "%d %d" % text
246 return "%d %d" % text
247
247
General Comments 0
You need to be logged in to leave comments. Login now