Localize date in dashboard. Props hervada and nbachiyski. fixes #6397
git-svn-id: https://develop.svn.wordpress.org/trunk@7548 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
69139c4672
commit
93e1a716a6
|
@ -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