Always set default timezone to UTC. Do offsets on top of that to be portable across all environments. fixes #9588 #11672 #11665

git-svn-id: http://svn.automattic.com/wordpress/trunk@12727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-01-15 16:39:11 +00:00
parent 2653342f43
commit 61e1249bf0
1 changed files with 0 additions and 1 deletions

View File

@ -3496,7 +3496,6 @@ function wp_timezone_override_offset() {
return false;
}
@date_default_timezone_set( $timezone_string );
$timezone_object = timezone_open( $timezone_string );
$datetime_object = date_create();
if ( false === $timezone_object || false === $datetime_object ) {