Ticket #10288: 10288.patch
| File 10288.patch, 1.1 KB (added by , 16 years ago) |
|---|
-
wp-admin/options-general.php
104 104 <?php 105 105 $current_offset = get_option('gmt_offset'); 106 106 $offset_range = array (-12, -11.5, -11, -10.5, -10, -9.5, -9, -8.5, -8, -7.5, -7, -6.5, -6, -5.5, -5, -4.5, -4, -3.5, -3, -2.5, -2, -1.5, -1, -0.5, 107 0, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 5.75, 6, 6.5, 7, 7.5, 8, 8.5, 8.75, 9, 9.5, 10, 10.5, 11, 11.5, 12, 12.75, 13, 13.75, 14);107 0, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 5.75, 5.83, 6, 6.5, 6.83, 7, 7.5, 8, 8.5, 8.75, 9, 9.5, 10, 10.5, 11, 11.5, 12, 12.75, 13, 13.75, 14); 108 108 foreach ( $offset_range as $offset ) { 109 109 if ( 0 < $offset ) 110 110 $offset_name = '+' . $offset; … … 113 113 else 114 114 $offset_name = (string) $offset; 115 115 116 $offset_name = str_replace(array('.25','.5','.75' ), array(':15',':30',':45'), $offset_name);116 $offset_name = str_replace(array('.25','.5','.75','.83'), array(':15',':30',':45',':50'), $offset_name); 117 117 118 118 $selected = ''; 119 119 if ( $current_offset == $offset ) {