From: Mark A. Hershberger Date: Mon, 4 Apr 2011 18:47:28 +0000 (+0000) Subject: revert r85177 since a lot of people don't set their $wgLocaltimezone X-Git-Tag: 1.31.0-rc.0~31022 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=92895589e19d1d4033853f39cf503a0ae4bef93b;p=lhc%2Fweb%2Fwiklou.git revert r85177 since a lot of people don't set their $wgLocaltimezone --- diff --git a/includes/Preferences.php b/includes/Preferences.php index 63b6b9025e..53533f9abf 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -1203,8 +1203,7 @@ class Preferences { $prefill = array_fill_keys( array_values( $tzRegions ), array() ); $opt = array_merge( $opt, $prefill ); - global $wgLocaltimezone; - $now = date_create( 'now', $wgLocaltimezone ); + $now = date_create( 'now' ); foreach ( $tzs as $tz ) { $z = explode( '/', $tz, 2 );