Make WordPress Core

Changeset 7548


Ignore:
Timestamp:
03/27/2008 08:09:06 AM (17 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/widgets.php

    r7411 r7548  
    11131113                if ( $date ) {
    11141114                    if ( $date_stamp = strtotime( $date ) )
    1115                         $date = '<span class="rss-date">' . gmdate( get_option( 'date_format' ), $date_stamp ) . '</span>';
     1115                        $date = '<span class="rss-date">' . date_i18n( get_option( 'date_format' ), $date_stamp ) . '</span>';
    11161116                    else
    11171117                        $date = '';
Note: See TracChangeset for help on using the changeset viewer.