Localize date in dashboard. Props hervada and nbachiyski. fixes #6397

git-svn-id: http://svn.automattic.com/wordpress/trunk@7548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-03-27 08:09:06 +00:00
parent 3cfb4b406c
commit 29839a2fb5

View File

@ -1112,7 +1112,7 @@ function wp_widget_rss_output( $rss, $args = array() ) {
if ( $date ) {
if ( $date_stamp = strtotime( $date ) )
$date = '<span class="rss-date">' . gmdate( get_option( 'date_format' ), $date_stamp ) . '</span>';
$date = '<span class="rss-date">' . date_i18n( get_option( 'date_format' ), $date_stamp ) . '</span>';
else
$date = '';
}