]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/plugins/contrib/datetime_cmp.mdwn
anon push test
[git.ikiwiki.info.git] / doc / plugins / contrib / datetime_cmp.mdwn
index 7508e0b21f92283fbe70234f35c491bef59bf21b..47eaffaec0cc36c5c85bcda1109c5a6a6c436c80 100644 (file)
@@ -1,3 +1,4 @@
+[[!meta author="spalax"]]
 [[!template id=plugin name=datetime_cmp author="[[Louis|spalax]]"]]
 [[!tag type/pagespec]]
 
 [[!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 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:
 ## 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`.
     * `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).
 
     * *empty*: no delta;
     * `_delta`: delta (given in argument).