Show More
@@ -66,8 +66,9 b' keywords are usually available for templ' | |||
|
66 | 66 | The "date" keyword does not produce human-readable output. If you |
|
67 | 67 | want to use a date in your output, you can use a filter to process |
|
68 | 68 | it. Filters are functions which return a string based on the input |
|
69 | variable. You can also use a chain of filters to get the desired | |
|
70 | output:: | |
|
69 | variable. Be sure to use the stringify filter first when you're | |
|
70 | applying a string-input filter to a list-like input variable. | |
|
71 | You can also use a chain of filters to get the desired output:: | |
|
71 | 72 | |
|
72 | 73 | $ hg tip --template "{date|isodate}\n" |
|
73 | 74 | 2008-08-21 18:22 +0000 |
General Comments 0
You need to be logged in to leave comments.
Login now