On Thu, Apr 12, 2007 at 11:17:23PM +0200, Roman wrote:
> I like #1, #2 or #3, mostly #1.

Just to follow up on this -- the {(ftime ...)} markup
that made it into beta43 will accept format and when parameters
in any order.  It also allows explicitly labeling the parameters.

So, for {(ftime ...)}, the format parameter is whatever is given
by "fmt=", the first parameter containing a '%', or else the
site's default.

The when parameter is whatever is given by "when=", or whatever
parameter remains after determining the format parameter.

    {(ftime %F)}
    {(ftime %Y)}
    {(ftime fmt=%F)}
    {(ftime yesterday)}
    {(ftime when=yesterday)}
    {(ftime %F yesterday)}
    {(ftime yesterday %F)}
    {(ftime fmt=%F yesterday)}
    ...etc...

Pm


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to