[pmwiki-users] Problem using MarkupExpressions with ZAP variable

Patrick R. Michaud pmichaud at pobox.com
Sun Jun 17 08:50:53 CDT 2007


On Sun, Jun 17, 2007 at 08:55:55AM -0400, The Editor wrote:
> 
> I still don't like all the changes Pm made to the time function,
> specifically to require the @ symbol, but that's how it works in
> PmWiki.  

I felt this was important so that we could reliably distinguish
ISO dates (20070617) from UNIX timestamps (@20070617).  And I didn't
invent the @-notation out of thin air -- it's the way that several
GNU utilities represent timestamps [1] (as documented from the PHP
strtotime() function [2], which ZAP itself is using).

So yes, that's how it works in PmWiki.  :-)

[1] http://www.gnu.org/software/tar/manual/html_node/tar_109.html
[2] http://www.php.net/strtotime

Pm

P.S.:  I'll grant that it's fairly unlikely that PmWiki users
will be using timestamps like "20070617", which refer to times
in the latter part of 1970.  But I still think it's better to 
have something that clearly marks a sequence of digits as 
being a timestamp.  




More information about the pmwiki-users mailing list