Last modified: 2010-05-15 15:33:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T5305, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3305 - Timezone set to GMT since update from 1.4.8 to 1.4.9
Timezone set to GMT since update from 1.4.8 to 1.4.9
Status: RESOLVED DUPLICATE of bug 505
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.4.x
PC Linux
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-30 08:30 UTC by Arthur
Modified: 2010-05-15 15:33 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Arthur 2005-08-30 08:30:41 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!
Comment 1 Brion Vibber 2005-08-30 08:45:25 UTC
$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.
Comment 2 Arthur 2005-08-30 09:01:21 UTC
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 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links