[pmwiki-users] get page modification time in English, how?
Petko Yotov
5ko at free.fr
Tue Oct 30 15:14:36 CDT 2007
On Tuesday 30 October 2007, sti at pooq.com wrote:
> its probably easier to just create a new
> variable that holds the same value as $LastModified in some known format.
> I'd recommend a unix timestamp for that, so you'd create a PV like:
>
> $FmtPV['$PageTime'] = '$page["time"]';
>
> ftime can parse a unix timestamp if it starts with '@', so you'd change
> your template to have entries like:
>
> {(ftime fmt="whatever" when=@{$PageTime} lc="en")}
Actually, this is exactly what I said 2,5 hours earlier... [1] Thanks for
picking my point, I am always glad to help.
Petko
[1] http://www.pmichaud.com/pipermail/pmwiki-users/2007-October/047250.html
More information about the pmwiki-users
mailing list