Index: trunk/phase3/includes/Preferences.php |
— | — | @@ -1202,7 +1202,8 @@ |
1203 | 1203 | $prefill = array_fill_keys( array_values( $tzRegions ), array() ); |
1204 | 1204 | $opt = array_merge( $opt, $prefill ); |
1205 | 1205 | |
1206 | | - $now = date_create( 'now' ); |
| 1206 | + global $wgLocaltimezone; |
| 1207 | + $now = date_create( 'now', $wgLocaltimezone ); |
1207 | 1208 | |
1208 | 1209 | foreach ( $tzs as $tz ) { |
1209 | 1210 | $z = explode( '/', $tz, 2 ); |