X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/5ea7804e1e0d6fed431a26bdba00e591b923db77..0d8ed6481b8d6caee0fc6f166bac7a382a10d733:/doc/plugins/prettydate.mdwn?ds=sidebyside diff --git a/doc/plugins/prettydate.mdwn b/doc/plugins/prettydate.mdwn index 17d6ae3e9..149b7c29c 100644 --- a/doc/plugins/prettydate.mdwn +++ b/doc/plugins/prettydate.mdwn @@ -1,9 +1,10 @@ -[[template id=plugin name=prettydate author="[[Joey]]"]] -[[tag type/format]] +[[!template id=plugin name=prettydate author="[[Joey]]"]] +[[!tag type/date]] +[[!tag type/chrome]] Enabling this plugin changes the dates displayed on pages in the wiki to -a format that is nice and easy to read. Examples: "in late evening on -February 14th, 2007", "at noon on March 15th, 2007" +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. @@ -14,6 +15,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. +This plugin uses the [[!cpan TimeDate]] perl module.