Manual talk:$wgLocalTZoffset
Add topicAppearance
Latest comment: 10 years ago by 88.130.98.250 in topic Bug in the Example
Bug in the Example
[edit]Original version,
$wgLocaltimezone = 'CET'; $wgLocalTZoffset = +60;
Fixed version,
$wgLocaltimezone = 'CET'; $wgLocalTZoffset = date("Z")/60 + 60;
It should rather be something like this? --Ans 08:56, 17 December 2007 (UTC)
- Your two examples only give the same result, if date('Z'), so the offset from UTC, is 0. In all other cases the both are not identical. I am not sure, what you think should be wrong; when you live one hour away from UTC, this difference is correct. However, the example in the article currently shows, how $wgLocalTZoffset can be used correctly with date('Z'). --88.130.98.250 14:09, 3 April 2014 (UTC)