Show More
@@ -341,6 +341,7 b' PYTHONPATH::' | |||||
341 | - hgdate: Date. Returns the date as a pair of numbers: |
|
341 | - hgdate: Date. Returns the date as a pair of numbers: | |
342 | "1157407993 25200" (Unix timestamp, timezone offset). |
|
342 | "1157407993 25200" (Unix timestamp, timezone offset). | |
343 | - isodate: Date. Returns the date in ISO 8601 format. |
|
343 | - isodate: Date. Returns the date in ISO 8601 format. | |
|
344 | - localdate: Date. Converts a date to local date. | |||
344 | - obfuscate: Any text. Returns the input text rendered as a |
|
345 | - obfuscate: Any text. Returns the input text rendered as a | |
345 | sequence of XML entities. |
|
346 | sequence of XML entities. | |
346 | - person: Any text. Returns the text before an email address. |
|
347 | - person: Any text. Returns the text before an email address. |
@@ -192,6 +192,7 b' filters = {' | |||||
192 | "isodatesec": lambda x: util.datestr(x, '%Y-%m-%d %H:%M:%S %1%2'), |
|
192 | "isodatesec": lambda x: util.datestr(x, '%Y-%m-%d %H:%M:%S %1%2'), | |
193 | "json": json, |
|
193 | "json": json, | |
194 | "jsonescape": jsonescape, |
|
194 | "jsonescape": jsonescape, | |
|
195 | "localdate": lambda x: (x[0], util.makedate()[1]), | |||
195 | "nonempty": nonempty, |
|
196 | "nonempty": nonempty, | |
196 | "obfuscate": obfuscate, |
|
197 | "obfuscate": obfuscate, | |
197 | "permissions": permissions, |
|
198 | "permissions": permissions, |
General Comments 0
You need to be logged in to leave comments.
Login now