Show More
@@ -309,15 +309,20 b' PYTHONPATH::' | |||||
309 |
|
309 | |||
310 | - addbreaks: Any text. Add an XHTML "<br />" tag before the end of |
|
310 | - addbreaks: Any text. Add an XHTML "<br />" tag before the end of | |
311 | every line except the last. |
|
311 | every line except the last. | |
312 |
- age: Date. Returns a human-readable |
|
312 | - age: Date. Returns a human-readable date/time difference between | |
|
313 | the given date/time and the current date/time. | |||
313 | - basename: Any text. Treats the text as a path, and returns the |
|
314 | - basename: Any text. Treats the text as a path, and returns the | |
314 | basename. For example, "foo/bar/baz" becomes "baz". |
|
315 | last component of the path after splitting by the path | |
315 | - date: Date. Returns a date in a Unix date command format, including |
|
316 | separator (ignoring trailing seprators). For example, | |
|
317 | "foo/bar/baz" becomes "baz" and "foo/bar//" becomes "bar". | |||
|
318 | - date: Date. Returns a date in a Unix date format, including | |||
316 | the timezone: "Mon Sep 04 15:13:13 2006 0700". |
|
319 | the timezone: "Mon Sep 04 15:13:13 2006 0700". | |
317 | - domain: Any text. Finds the first string that looks like an email |
|
320 | - domain: Any text. Finds the first string that looks like an email | |
318 | address, and extracts just the domain component. |
|
321 | address, and extracts just the domain component. | |
|
322 | Example: 'User <user@example.com>' becomes 'example.com'. | |||
319 | - email: Any text. Extracts the first string that looks like an email |
|
323 | - email: Any text. Extracts the first string that looks like an email | |
320 | address. |
|
324 | address. Example: 'User <user@example.com>' becomes | |
|
325 | 'user@example.com'. | |||
321 | - escape: Any text. Replaces the special XML/XHTML characters "&", |
|
326 | - escape: Any text. Replaces the special XML/XHTML characters "&", | |
322 | "<" and ">" with XML entities. |
|
327 | "<" and ">" with XML entities. | |
323 | - fill68: Any text. Wraps the text to fit in 68 columns. |
|
328 | - fill68: Any text. Wraps the text to fit in 68 columns. | |
@@ -333,7 +338,7 b' PYTHONPATH::' | |||||
333 | in email headers. |
|
338 | in email headers. | |
334 | - short: Changeset hash. Returns the short form of a changeset hash, |
|
339 | - short: Changeset hash. Returns the short form of a changeset hash, | |
335 | i.e. a 12-byte hexadecimal string. |
|
340 | i.e. a 12-byte hexadecimal string. | |
336 |
- shortdate: Date. Returns a date like "2006-09- |
|
341 | - shortdate: Date. Returns a date like "2006-09-18". | |
337 | - strip: Any text. Strips all leading and trailing whitespace. |
|
342 | - strip: Any text. Strips all leading and trailing whitespace. | |
338 | - tabindent: Any text. Returns the text, with every line except the |
|
343 | - tabindent: Any text. Returns the text, with every line except the | |
339 | first starting with a tab character. |
|
344 | first starting with a tab character. |
General Comments 0
You need to be logged in to leave comments.
Login now