Last modified: 2011-04-30 01:20:31 UTC
I have a mediawiki installation, using italian locales. In Italy we have summer daylight saving site. During the winter, history shows the time of the contributions correctly, but during the summer history shows the time of the contributions without considering the +1 hour shift.
What is $wgLocaltimezone set to in LocalSettings.php ?
#Set Default Timezone $wgLocaltimezone = "Europe/Rome"; $oldtz = getenv("TZ");
#Set Default Timezone $wgLocaltimezone = "Europe/Rome"; $oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone"); # Versions before 1.7.0 used $wgLocalTZoffset as hours. # After 1.7.0 offset as minutes $wgLocalTZoffset = date("Z") / 60; putenv("TZ=$oldtz");
Do you control the PHP installation? If so, maybe setting the timezone in the php.ini will help.