Page MenuHomePhabricator

Add a description of "$wgLocalTZoffset = ..." to DefaultSettings.php
Closed, ResolvedPublic

Description

Currently, this is a hidden but perhaps useful switch and can only be found by
experts when browsing Language.php.

I propose now to add a

  • short description and a
  • fail-safe default value directly in

    DefaultSettings.php

$wgLocalTZoffset = false; or
$wgLocalTZoffset = '0';
( the correct default will depend on the future layout of Language::userAdjust )

Regarding $wgLocalTZoffset see provisionally also

http://meta.wikimedia.org/wiki/MediaWiki_FAQ#How_do_I_set_the_timezone_for_my_MediaWiki.3F

Related is


Version: unspecified
Severity: normal
URL: http://meta.wikimedia.org/wiki/MediaWiki_FAQ#How_do_I_set_the_timezone_for_my_MediaWiki.3F

Details

Reference
bz3306

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:47 PM
bzimport set Reference to bz3306.
bzimport added a subscriber: Unknown Object (MLST).

P.S. One month left to the next Daylight Saving Time change in many countries

(In reply to comment #1)

P.S. One month left to the next Daylight Saving Time change in many countries

s/One month/Two months/

How stupid, wrong information: I should have better studied
http://www.timeanddate.com/time/dst2005b.html
Sorry

There is already a $wgLocaltimezone that should probably
be used instead of $wgLocalTZoffset

(In reply to comment #3)

There is already a $wgLocaltimezone that should probably
be used instead of $wgLocalTZoffset

(In reply to comment #0)
Salut Ashar: certainly not:
as both are different variables, see Brions posting, which gives plenty of
background information

Regarding $wgLocalTZoffset see provisionally also

and exactly the not-mentioning of $wgLocalTZoffset (in DefaultSettings.php)
puzzled me begin of 2005.
Tom

Documentation comments added to DefaultSettings.php on REL1_5 and HEAD.