[Mediawiki-l] Set the correct timezone

orschiro at googlemail.com orschiro at googlemail.com
Tue Sep 14 12:58:40 UTC 2010


Hello guys,

I want to set the correct timezone for my wiki as all logs are two hours
behind. So I declared the following in LocalSettings but there's no change.

# Set the correct timezone
$wgLocaltimezone = "Europe/Berlin";
$oldtz = getenv("TZ");
putenv("TZ=$wgLocaltimezone");

I took the information from here:
http://www.mediawiki.org/wiki/Manual:Timezone

How can I set the correct timezone for Europe/Berlin?


--robert


More information about the MediaWiki-l mailing list