[pmwiki-users] {(...)} markup recipe available
Patrick R. Michaud
pmichaud at pobox.com
Thu Apr 12 17:09:26 CDT 2007
On Thu, Apr 12, 2007 at 05:47:21PM -0400, The Editor wrote:
> BTW, it may be a small thing, but I really l wish you had gone with
> time not ftime. Is there a reason you made that choice Pm?
The biggest reason was to leave the {(time ...)} expression available
for other purposes if we came up with any. Some people had been
talking about using {(time)} to return the current time as a Unix
time value (i.e., the equivalent of {(ftime %s)} ).
There's also potential confusion that people might not recognize
that {(time ...)} could also be used to format dates -- they
might think it's restricted to time-of-day only.
Lastly, Dominque had used "ftime" in his version of expressions,
and I thought it was a nice compromise between "time" and "strftime".
But I'd be perfectly happy to just make {(time ...)} the core
standard instead of {(ftime ...)}, if people are in general
agreement about this.
Pm
More information about the pmwiki-users
mailing list