X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9f103f672fc8df62788d6d1389a50b1ad933268b..4729ff0812c1f3d06d98524e2fec232d3bf90513:/doc/plugins/contrib/datetime_cmp.mdwn 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).