Mercurial > hg
changeset 9360:f4f17d5695d2
help: show results of all date filters
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Tue, 18 Aug 2009 13:40:19 +0200 |
parents | 9bf49b37a32c |
children | 419aa488432e 68f393788895 |
files | mercurial/help.py |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/help.py Tue Aug 18 13:00:13 2009 +0200 +++ b/mercurial/help.py Tue Aug 18 13:40:19 2009 +0200 @@ -426,17 +426,19 @@ - nonempty: Any text. Returns '(none)' if the string is empty. - hgdate: Date. Returns the date as a pair of numbers: "1157407993 25200" (Unix timestamp, timezone offset). - - isodate: Date. Returns the date in ISO 8601 format. + - isodate: Date. Returns the date in ISO 8601 format: "2009-08-18 + 13:00 +0200". - isodatesec: Date. Returns the date in ISO 8601 format, including - seconds. See also the rfc3339date filter. + seconds: "2009-08-18 13:00:13 +0200". See also the + rfc3339date filter. - localdate: Date. Converts a date to local date. - obfuscate: Any text. Returns the input text rendered as a sequence of XML entities. - person: Any text. Returns the text before an email address. - rfc822date: Date. Returns a date using the same format used - in email headers. + in email headers: "Tue, 18 Aug 2009 13:00:13 +0200". - rfc3339date: Date. Returns a date using the Internet date format - specified in RFC 3339. + specified in RFC 3339: "2009-08-18T13:00:13+02:00". - short: Changeset hash. Returns the short form of a changeset hash, i.e. a 12-byte hexadecimal string. - shortdate: Date. Returns a date like "2006-09-18".