X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/3d3dd282cf262a8e9819a245b64779fe1a724252..651cdd4b2a85f4e5f9d298a7eea7d0e6d94442b1:/doc/plugins/contrib/datetime_cmp.mdwn?ds=sidebyside diff --git a/doc/plugins/contrib/datetime_cmp.mdwn b/doc/plugins/contrib/datetime_cmp.mdwn index 7508e0b21..47eaffaec 100644 --- a/doc/plugins/contrib/datetime_cmp.mdwn +++ b/doc/plugins/contrib/datetime_cmp.mdwn @@ -1,3 +1,4 @@ +[[!meta author="spalax"]] [[!template id=plugin name=datetime_cmp author="[[Louis|spalax]]"]] [[!tag type/pagespec]] @@ -10,6 +11,8 @@ creation or modification times. It also sets the date of the next modification of the page on relevant date, so that the page will be rebuilt if the condition changes. +It requires the DateTime::Format::Duration perl module (on Debian : ``apt-get install libdatetime-format-duration-perl``). + ## List of functions The list of functions is given by the following regexp: @@ -36,7 +39,7 @@ where: * `page`: other page (given in argument); * `now`: date or time of compilation; * `today`: same meaning as `now`. - * `(|_delta)`: used to add a time delta (to use comparisons such as *created at least two day after `some_page`*): + * `(|_delta)`: used to add a time delta (to use comparisons such as *created at least two days after `some_page`*): * *empty*: no delta; * `_delta`: delta (given in argument).