[pmwiki-users] ({*$LastModified}) vs {(ftime fmt="%F" {*$LastModified})}

ABClf languefrancaise at gmail.com
Sun May 20 11:47:00 CDT 2012

Hello !!

I have a group where I use a template (in GroupHeader) for showing
ptv-data from other pages.
Somewhere, I want to show the last modified time (extracting page variable).

At first, in template page, I used : {(ftime fmt="%F" {*$LastModified})}
but, strange for me, it does not work all time : in some cases, it
just prints out 1970–01–01 ; in other cases it shows the expected

Then, I test {*$LastModified} : it works everytime (though it does not
give the same formatting).
Where I used to have wrong 1970–01–01 I can see 20/05/2012 18:11

Does anyone know whats wrong with first case : {(ftime fmt="%F"
{*$LastModified})} ?

Thank you,



| A | de la langue française
| B | http://www.languefrancaise.net/
| C | languefrancaise at gmail.com

More information about the pmwiki-users mailing list