Änderungen

Wechseln zu: Navigation, Suche

NLPedia:Einstellungen

36 Byte hinzugefügt, 09:59, 2. Apr. 2006
/* Time zone adjust */
$wgLocalTZoffset = date("Z") / 3600; <br>
putenv("TZ=$oldtz"); <br>
 
Actually, resetting it probably isn't necessary, I think that's leftover from before we switched to the proper time functions. This should do (untested): <br>
$wgLocaltimezone="Europe/Berlin"; <br>
putenv("TZ=$wgLocaltimezone"); <br>
$wgLocalTZoffset = date("Z") / 3600; <br>
 
For that matter if your server is already in the local timezone you want, this might work: <br>
$wgLocalTZoffset = date("Z") / 3600; <br>
 
Or: <br>
$wgLocalTZoffset = 13;
 
Note: This timezone will be used in: