dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
225d094
)
revert r85177 since a lot of people don't set their $wgLocaltimezone
author
Mark A. Hershberger
<mah@users.mediawiki.org>
Mon, 4 Apr 2011 18:47:28 +0000
(18:47 +0000)
committer
Mark A. Hershberger
<mah@users.mediawiki.org>
Mon, 4 Apr 2011 18:47:28 +0000
(18:47 +0000)
includes/Preferences.php
patch
|
blob
|
history
diff --git
a/includes/Preferences.php
b/includes/Preferences.php
index
63b6b90
..
53533f9
100644
(file)
--- 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 );