X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/2a0c928b56685f5922344a3703a0ff3d25a9d722..cd4bc7c58086bbd61a2260e405eb7cb00134140c:/doc/plugins/prettydate.mdwn diff --git a/doc/plugins/prettydate.mdwn b/doc/plugins/prettydate.mdwn index 538a1ef7d..49feaa8e6 100644 --- a/doc/plugins/prettydate.mdwn +++ b/doc/plugins/prettydate.mdwn @@ -2,7 +2,8 @@ [[tag type/format]] Enabling this plugin changes the dates displayed on pages in the wiki to -a format that is nice and easy to read. +a format that is nice and easy to read. Examples: "late Wednesday evening, +February 14th, 2007", "at midnight, March 15th, 2007" The names given to each of the hours in the day can be customised by setting the `timetable` configuration variable in ikiwiki's setup file. @@ -13,6 +14,6 @@ since they do not occupy the whole hour. The format used for the date can be customised using the `prettydateformat` configuration variable in the setup file. `%X` will be expanded to the -prettified time value. The default prettydateformat is `"%X %B %o, %Y"`. +prettified time value. The default prettydateformat is `"%X, %B %o, %Y"`. This plugin uses the [[cpan TimeDate]] perl module.