Ticket #2189: template-functions-general.php.diff
| File template-functions-general.php.diff, 669 bytes (added by priv, 6 years ago) |
|---|
-
template-functions-general.php
433 433 else 434 434 $thismonth = ''.zeroise(intval(substr($m, 4, 2)), 2); 435 435 } else { 436 $thisyear = gmdate('Y', current_time('timestamp') + get_settings('gmt_offset') * 3600);437 $thismonth = gmdate('m', current_time('timestamp') + get_settings('gmt_offset') * 3600);436 $thisyear = gmdate('Y', current_time('timestamp')); 437 $thismonth = gmdate('m', current_time('timestamp')); 438 438 } 439 439 440 440 $unixmonth = mktime(0, 0 , 0, $thismonth, 1, $thisyear);
