diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2007-11-13 16:14:48 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2007-11-13 16:14:48 -0500 |
commit | 264a82a435b9ce5560f4bbea7b53270c53ef5720 (patch) | |
tree | 3f48689d2bed7cfbd9e198ecf10a1c7788f70ed1 /doc/plugins | |
parent | 426d94b5007b3792a72ba4394e41b12e874d8203 (diff) | |
download | ikiwiki-264a82a435b9ce5560f4bbea7b53270c53ef5720.tar ikiwiki-264a82a435b9ce5560f4bbea7b53270c53ef5720.tar.gz |
* inline: Add timeformat parameter to control how the ctime of
inlined pages is displayed. Closes: #451019
Diffstat (limited to 'doc/plugins')
-rw-r--r-- | doc/plugins/write.mdwn | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index 0e1839c6c..64b353a41 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -477,10 +477,13 @@ search for files. If the directory name is not absolute, ikiwiki will assume it is in the parent directory of the configured underlaydir. -#### `displaytime($)` +#### `displaytime($;$)` Given a time, formats it for display. +The optional second parameter is a strftime format to use to format the +time. + #### `gettext` This is the standard gettext function, although slightly optimised. |