From 92895589e19d1d4033853f39cf503a0ae4bef93b Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Mon, 4 Apr 2011 18:47:28 +0000 Subject: [PATCH] revert r85177 since a lot of people don't set their $wgLocaltimezone --- includes/Preferences.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 ); -- 2.20.1