]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/ikiwiki/directive/edittemplate.mdwn
edittemplate: use unambiguous RFC 3339 datestamps
[ikiwiki.git] / doc / ikiwiki / directive / edittemplate.mdwn
index 11cc898515db9d2cafbd607adb47c30d9ae0a520..6269f5dd8a23935f1970fe62b998ecc15f569885 100644 (file)
@@ -39,6 +39,8 @@ These variables might be set:
   (Requires the `UUID::Tiny` Perl module if not running on Linux.)
 
 * `<TMPL_VAR time>` is replaced with the current (template generation)
-  time, using a fixed format, `%Y-%m-%d %H:%M:%S`.
+  time using a fixed format (RFC 3339, `%Y-%m-%dT%H:%M:%SZ`),
+  suitable for use in `\[[!meta date="<TMPL_VAR time>"]]`
+  (see [[meta]]) or `\[[!date "<TMPL_VAR time>"]]` (see [[date]]).
 
 [[!meta robots="noindex, follow"]]