[pmwiki-users] get page modification time in English, how?

sti at pooq.com sti at pooq.com
Tue Oct 30 00:39:21 CDT 2007


SteP wrote:
> I think your recipe is what I was looking for, but I'm getting strange
> results. I'm using it in a pagelist template, switching language from
> English to another language. Everything works as expected, when English is
> the language, but when the other language is used when="{=LastModified}"
> returns the current datetime for almost all pages. The only page for which
> the correct modification time is returned is an older page, as if PmWiki's
> lastmodified internal storage format had changed at some point in an
> incompatible way.  Here' the template, if you kindly could give it a shot
> 
I'm afraid I don't see anything wrong in that template that could explain that
strange behavior. It looks like sometimes the date being passed in is somehow
blank, and the code is using the the current date instead. But for that to
happen, then {=$LastModified} would have to be returning nothing at all, and I
can't think what would cause that.



More information about the pmwiki-users mailing list