Make WordPress Core


Ignore:
Timestamp:
02/03/2009 11:04:31 PM (15 years ago)
Author:
ryan
Message:

Respect time zone when displaying autosave and revision time. Props janbrasna, designsimply. fixes #8750 #6489 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r10485 r10490  
    11921192    $currentf  = __( '%s [Current Revision]' );
    11931193
    1194     $date = date_i18n( $datef, strtotime( $revision->post_modified_gmt . ' +0000' ) );
     1194    $date = date_i18n( $datef, strtotime( $revision->post_modified ) );
    11951195    if ( $link && current_user_can( 'edit_post', $revision->ID ) && $link = get_edit_post_link( $revision->ID ) )
    11961196        $date = "<a href='$link'>$date</a>";
Note: See TracChangeset for help on using the changeset viewer.