Ticket #9730: 9730.extra.wp_get_archives.patch
File 9730.extra.wp_get_archives.patch, 775 bytes (added by , 16 years ago) |
---|
-
wp-includes/general-template.php
835 835 foreach ( (array) $arcresults as $arcresult ) { 836 836 $url = get_day_link($arcresult->year, $arcresult->month, $arcresult->dayofmonth); 837 837 $date = sprintf('%1$d-%2$02d-%3$02d 00:00:00', $arcresult->year, $arcresult->month, $arcresult->dayofmonth); 838 $text = mysql2date($archive_day_date_format, $date );838 $text = mysql2date($archive_day_date_format, $date, true); 839 839 if ($show_post_count) 840 840 $after = ' ('.$arcresult->posts.')'.$afterafter; 841 841 $output .= get_archives_link($url, $text, $format, $before, $after);