Reminder to Sysops: Timezone and Daylight Saving Time issues tonight: some Sysops might wish to adjust $wgLocalTZoffset

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Reminder to Sysops: Timezone and Daylight Saving Time issues tonight: some Sysops might wish to adjust $wgLocalTZoffset

Thomas Gries
Hello all,

take note that a special global switch $wgLocalTZoffset can be used to
adjust the display of time of the day in your wikis.
Attention: the variable can only be set to non-fractional hour offsets.

Example:

$wgLocalTZOffset = '+2'; (to display all date/times in a mediawiki with an
offset of +2 hours to the servertime, most often UTC.)

The variable is well commented in all recent MediaWiki distributions and
is defined in DefaultSettings.php
Go back in time when the comment was introduced:
http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/includes/DefaultSettings.php?r1=1.365.2.6&r2=1.365.2.7

Further reading in http://bugzilla.wikipedia.org/show_bug.cgi?id=3305 .
and general issues of an automatic "switch" to or from DST see
http://bugzilla.wikimedia.org/show_bug.cgi?id=505

Regards,
Wikinaut


_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l