Patrick R. Michaud schrieb: > On Tue, May 08, 2007 at 09:09:47PM +0200, noskule wrote: >> Patrick R. Michaud schrieb: >>> On Tue, May 08, 2007 at 06:40:55PM +0200, noskule wrote: >>>> hi list >>>> is there a pagevar for creation-time >>>> I thought I could remember a var valled ctime somewhere. Is this somehow >>>> accessible as a pagevar? >>> See the bottom of http://www.pmwiki.org/wiki/PmWiki/PageVariables . >>> >>> Pm >>> >> >> ah I see thanks, but is it possible, that it autmaticly takes the same >> format that a user specifies with the $TimeFmt variable in config.php? >> >> Something like: >> $FmtPV['$PageCreationDate'] = 'strftime("$TimeFmt", $page["ctime"])'; > > Try: > > $FmtPV['$Created'] = "strftime(\$GLOBALS['TimeFmt'], \$page['ctime'])"; > > Pm > cool, thanks
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
