On Tue, Apr 03, 2007 at 05:29:24PM -0400, The Editor wrote:
> >Interesting.  Given a pagename like 2007-03-15, my version of this would 
> >be:
> >
> >    {(time %B {$Name})}    # March
> >    {(time %A {$Name})}    # Thursday
> 
> If you can get it to work, I'd be good with this.  I suppose you can
> somehow configure %B or %A easily enough to reflect different values?

See the specification for strftime, at http://www.php.net/strftime .
Also, strftime has the advantage that with i18n it produces date
information formatted for languages other than English.  For
example, if a site is configured for German, then the above
would produce:

    {(time %B {$Name})}    # März
    {(time %A {$Name})}    # Donnerstag

    {(time %c {$Name})}    # Do 15 Mär 2007 00:00:00 CDT

Pm

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

Reply via email to