<div dir="ltr">You will find the documentation here<div><a href="http://www.pmwiki.org/wiki/PmWiki/MarkupExpressions#ftime">http://www.pmwiki.org/wiki/PmWiki/MarkupExpressions#ftime</a><br></div><div><br></div><div>provides the information you need.</div>
<div>In particular see the information. and importantly the link, about the "when" parameter.</div><div><br></div><div>Your contributions and updates the the PmWiki documentation would be much appreciated if you feel it could be improved</div>
<div><br></div><div>regards</div><div><br></div><div>Simon</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 4 September 2014 03:49, <a href="mailto:kirpi@kirpi.it">kirpi@kirpi.it</a> <span dir="ltr"><<a href="mailto:kirpi@kirpi.it" target="_blank">kirpi@kirpi.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">> The first page uses an earlier recipe from 2007<br>
</div>> [...]<br>
> <a href="http://www.pmwiki.org/pmwiki/uploads/Cookbook/markupexpr.php" target="_blank">http://www.pmwiki.org/pmwiki/uploads/Cookbook/markupexpr.php</a><br>
<br>
Thank you Petko for your explanation :-)<br>
I tried and paste some of the markupexpr.php code into my config.php<br>
Fearing that it could clash with the ftime in use today, I dared to<br>
change any "ftime" occurrence with "meftime".<br>
Yet, when in use in pages like Cookbook/CopyPasteCalendar it makes disasters :-)<br>
Probably the game is much more complicated than I naively guessed.<br>
(and yes, of course I do not understand what that code does, too complicated)<br>
<br>
What if one need to subtract 1 or 2 days from a certain date?<br>
Looking on Google, there seems to be many (supposedly) easy ways, for<br>
instance this javascript<br>
yourDate.setDate(yourDate.getDate() - daysToSubtract);<br>
which looks easy to understand, but at the end I cannot imagine a way<br>
to actually use it on a wiki page.<br>
<br>
Is there any workaround, please?<br>
(if not, no problem: one cannot have everything in life)<br>
<br>
Thanks again<br>
<br>
Luigi<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a>
</div>