diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index 2a900c0d9d..9b5bd91402 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -137,8 +137,8 @@ else: // looks like we can do nice timezone selection! $current_offset = get_option('gmt_offset'); $tzstring = get_option('timezone_string'); if (empty($tzstring)) { // set the Etc zone if no timezone string exists - if ($current_offset < 0) $offnum = ceil($current_offset); - else $offnum = floor($current_offset); + if ($current_offset < 0) $offnum = - ceil($current_offset); + else $offnum = - floor($current_offset); $tzstring = 'Etc/GMT' . (($offnum >= 0) ? '+' : '') . $offnum; } ?>