diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/blog.mdwn | 2 | ||||
-rw-r--r-- | doc/plugins/write.mdwn | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/blog.mdwn b/doc/blog.mdwn index fe839775c..6e5eec4aa 100644 --- a/doc/blog.mdwn +++ b/doc/blog.mdwn @@ -93,3 +93,5 @@ directive: the rss/atom feeds. The default is the same as the `show` value above. * `feedonly` - Only generate the feed, do not display the pages inline on the page. +* `timeformat` - Use this to specify how to display the time or date for pages + in the blog. The format string is passed to the strftime(3) function. 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. |