Show More
@@ -435,13 +435,19 b' PYTHONPATH' | |||||
435 | :nonempty: Any text. Returns '(none)' if the string is empty. |
|
435 | :nonempty: Any text. Returns '(none)' if the string is empty. | |
436 | :hgdate: Date. Returns the date as a pair of numbers: |
|
436 | :hgdate: Date. Returns the date as a pair of numbers: | |
437 | "1157407993 25200" (Unix timestamp, timezone offset). |
|
437 | "1157407993 25200" (Unix timestamp, timezone offset). | |
438 |
:isodate: Date. Returns the date in ISO 8601 format |
|
438 | :isodate: Date. Returns the date in ISO 8601 format: | |
|
439 | "2009-08-18 13:00 +0200". | |||
|
440 | :isodatesec: Date. Returns the date in ISO 8601 format, including | |||
|
441 | seconds: "2009-08-18 13:00:13 +0200". See also the | |||
|
442 | rfc3339date filter. | |||
439 | :localdate: Date. Converts a date to local date. |
|
443 | :localdate: Date. Converts a date to local date. | |
440 | :obfuscate: Any text. Returns the input text rendered as a |
|
444 | :obfuscate: Any text. Returns the input text rendered as a | |
441 | sequence of XML entities. |
|
445 | sequence of XML entities. | |
442 | :person: Any text. Returns the text before an email address. |
|
446 | :person: Any text. Returns the text before an email address. | |
443 | :rfc822date: Date. Returns a date using the same format used in |
|
447 | :rfc822date: Date. Returns a date using the same format used in | |
444 | email headers. |
|
448 | email headers: "Tue, 18 Aug 2009 13:00:13 +0200". | |
|
449 | :rfc3339date: Date. Returns a date using the Internet date format | |||
|
450 | specified in RFC 3339: "2009-08-18T13:00:13+02:00". | |||
445 | :short: Changeset hash. Returns the short form of a changeset |
|
451 | :short: Changeset hash. Returns the short form of a changeset | |
446 | hash, i.e. a 12-byte hexadecimal string. |
|
452 | hash, i.e. a 12-byte hexadecimal string. | |
447 | :shortdate: Date. Returns a date like "2006-09-18". |
|
453 | :shortdate: Date. Returns a date like "2006-09-18". |
General Comments 0
You need to be logged in to leave comments.
Login now