Ticket #2189: calendar_double_offset_fix.diff
| File calendar_double_offset_fix.diff, 670 bytes (added by markjaquith, 6 years ago) |
|---|
-
wp-includes/general-template.php
421 421 else 422 422 $thismonth = ''.zeroise(intval(substr($m, 4, 2)), 2); 423 423 } else { 424 $thisyear = gmdate('Y', current_time('timestamp') + get_settings('gmt_offset') * 3600);425 $thismonth = gmdate('m', current_time('timestamp') + get_settings('gmt_offset') * 3600);424 $thisyear = gmdate('Y', current_time('timestamp')); 425 $thismonth = gmdate('m', current_time('timestamp')); 426 426 } 427 427 428 428 $unixmonth = mktime(0, 0 , 0, $thismonth, 1, $thisyear);
