Changeset 10962
- Timestamp:
- 04/16/2009 10:17:13 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-general.php
r10878 r10962 138 138 $tzstring = get_option('timezone_string'); 139 139 if (empty($tzstring)) { // set the Etc zone if no timezone string exists 140 if ($current_offset < 0) $offnum = ceil($current_offset);141 else $offnum = floor($current_offset);140 if ($current_offset < 0) $offnum = - ceil($current_offset); 141 else $offnum = - floor($current_offset); 142 142 $tzstring = 'Etc/GMT' . (($offnum >= 0) ? '+' : '') . $offnum; 143 143 }
Note: See TracChangeset
for help on using the changeset viewer.