Thankyou

On 15 March 2011 22:05, Petko Yotov <[email protected]> wrote:

> On Tuesday 15 March 2011 09:40:39, Simon wrote :
> > Please see http://www.pmwiki.org/wiki/Test/PageListLastModified
> >
> > I'm struggling to get the output I expect.
> > Any suggestions would be welcome.
>
> There are two problems here.
>
> The first is the markup expression in the (:template...:) tag - it is not
> evaluated, so all pages, having a different timestamp, are on different
> lines.
>
> This is simply fixed by a custom page variable, for example
> $LastModifiedYear
> for which I gave an example on that page.
>
> The second problem (year 1969 instead of 2011) is that PHP has trouble
> parsing
> all date-time strings correctly. This is fixable by using the unambiguous
> @{=$LastModifiedTime} instead of {=$LastModified} inside the when
> parameter.
>
> Petko
>



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

Reply via email to