mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-09 09:57:38 +01:00
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:
parent
3cfb4b406c
commit
29839a2fb5
@ -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 = '';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user