changeset 9359:9bf49b37a32c

help: document isodatesec and rfc3339 filters (issue1799)
author Martin Geisler <mg@lazybytes.net>
date Tue, 18 Aug 2009 13:00:13 +0200
parents 7ee67a037dcb
children f4f17d5695d2
files mercurial/help.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/help.py	Sun Aug 16 20:53:49 2009 -0500
+++ b/mercurial/help.py	Tue Aug 18 13:00:13 2009 +0200
@@ -427,12 +427,16 @@
     - 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.
+    - isodatesec: Date. Returns the date in ISO 8601 format, including
+          seconds. 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.
+    - rfc3339date: Date. Returns a date using the Internet date format
+          specified in RFC 3339.
     - 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".