# HG changeset patch # User Dirkjan Ochtman # Date 1269341294 -3600 # Node ID 9f6e30a89f1112b07501e23dab272d41f0cf57b6 # Parent 32023a0a389b19da430281d6d9c3a370a5d2ebda help: point out need for stringification diff -r 32023a0a389b -r 9f6e30a89f11 mercurial/help/templates.txt --- a/mercurial/help/templates.txt Tue Mar 23 10:18:46 2010 +0100 +++ b/mercurial/help/templates.txt Tue Mar 23 11:48:14 2010 +0100 @@ -66,8 +66,9 @@ The "date" keyword does not produce human-readable output. If you want to use a date in your output, you can use a filter to process it. Filters are functions which return a string based on the input -variable. You can also use a chain of filters to get the desired -output:: +variable. Be sure to use the stringify filter first when you're +applying a string-input filter to a list-like input variable. +You can also use a chain of filters to get the desired output:: $ hg tip --template "{date|isodate}\n" 2008-08-21 18:22 +0000