Last modified: 2010-05-15 15:33:58 UTC
Since updating from 1.4.8 to 1.4.9 all the times shown in the Wiki are set to GMT instead of GMT+0200 as it is set in the OS and as was correctly shown before. OS is RedHat 2.4.21-20.EL with PHP 4.3.2 (apache2filter) and MySQL 3.23.58. Setting $wgLocaltimezone = 'CET'; in LocalSettings.php doesn't help either. Even setting it to a totally wrong timezone doesn't make any difference, it just stays on GMT. Version of bug is wrongly set to 1.4.8 as 1.4.9 isn't available yet. Don't know what component this belongs to. Thanks for the great software!
$wgLocaltimezone overrides only the timestamp display used for automatic signature insertion (~~~~ when editing articles) and does not affect other sorts of output. Note that MediaWiki shows UTC (GMT) for most times by default regardless of your operating system configuration. Server local time is used only for signatures. To set the default timezone offset used for display and initialization of user accounts, you must additionally set $wgLocalTZoffset. See further details: http://meta.wikimedia.org/wiki/MediaWiki_FAQ#How_do_I_set_the_timezone_for_my_MediaWiki.3F http://mail.wikipedia.org/pipermail/mediawiki-l/2004-April/000357.html There should be no difference between 1.4.8 and 1.4.9 behavior here, and it works as documented in 1.4.9 so far as I can see.
Thanks for your answer. I could have sworn that the timezone setting user preference showed the "right" time in 1.4.8, but that could very well have been a daydream. Duping to bug 505 as $wgLocalTZoffset would mean having to change the offset twice a year. *** This bug has been marked as a duplicate of 505 ***