Mercurial > public > mercurial-scm > hg
comparison mercurial/help.py @ 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 | 73bec717b825 |
children | f4f17d5695d2 |
comparison
equal
deleted
inserted
replaced
9357:7ee67a037dcb | 9359:9bf49b37a32c |
---|---|
425 - firstline: Any text. Returns the first line of text. | 425 - firstline: Any text. Returns the first line of text. |
426 - nonempty: Any text. Returns '(none)' if the string is empty. | 426 - nonempty: Any text. Returns '(none)' if the string is empty. |
427 - hgdate: Date. Returns the date as a pair of numbers: | 427 - hgdate: Date. Returns the date as a pair of numbers: |
428 "1157407993 25200" (Unix timestamp, timezone offset). | 428 "1157407993 25200" (Unix timestamp, timezone offset). |
429 - isodate: Date. Returns the date in ISO 8601 format. | 429 - isodate: Date. Returns the date in ISO 8601 format. |
430 - isodatesec: Date. Returns the date in ISO 8601 format, including | |
431 seconds. See also the rfc3339date filter. | |
430 - localdate: Date. Converts a date to local date. | 432 - localdate: Date. Converts a date to local date. |
431 - obfuscate: Any text. Returns the input text rendered as a | 433 - obfuscate: Any text. Returns the input text rendered as a |
432 sequence of XML entities. | 434 sequence of XML entities. |
433 - person: Any text. Returns the text before an email address. | 435 - person: Any text. Returns the text before an email address. |
434 - rfc822date: Date. Returns a date using the same format used | 436 - rfc822date: Date. Returns a date using the same format used |
435 in email headers. | 437 in email headers. |
438 - rfc3339date: Date. Returns a date using the Internet date format | |
439 specified in RFC 3339. | |
436 - short: Changeset hash. Returns the short form of a changeset | 440 - short: Changeset hash. Returns the short form of a changeset |
437 hash, i.e. a 12-byte hexadecimal string. | 441 hash, i.e. a 12-byte hexadecimal string. |
438 - shortdate: Date. Returns a date like "2006-09-18". | 442 - shortdate: Date. Returns a date like "2006-09-18". |
439 - strip: Any text. Strips all leading and trailing whitespace. | 443 - strip: Any text. Strips all leading and trailing whitespace. |
440 - tabindent: Any text. Returns the text, with every line except | 444 - tabindent: Any text. Returns the text, with every line except |