[pmwiki-users] time zone for $LastModified

Piotr A. Dybczyński piotr at dybczynski.pl
Mon Nov 25 03:54:56 PST 2024


Hi All,

I edit a page and save it. In another page I have inserted:

(:pagelist name='here correct page name' fmt=#titlepdlm:)

The format in Site.LocalTemplates is:

[[#titlepdlm]]
(:template defaults order=title:)
last modified: {=$LastModified}

[[#titlepdlmend]]

The problem is that it displays the time of last modification in UTC 
instead of local time of the wiki server (stable Debian, PHP 8.2).

In the server filesystem the time of wiki page modification is correct.

How can I force a correct time zone?

Cheers,
Piotr
-- 
/************************************************************************
                          dr Piotr A. Dybczyński
  homepage: https://www.dybczynski.pl/Piotr   e-mail: piotr at dybczynski.pl
******************************************************************PAD***/





More information about the pmwiki-users mailing list