Make WordPress Core


Ignore:
Timestamp:
02/03/2009 11:06:17 PM (17 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

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

    r10460 r10491  
    10491049    $currentf  = __( '%s [Current Revision]' );
    10501050
    1051     $date = date_i18n( $datef, strtotime( $revision->post_modified_gmt . ' +0000' ) );
     1051    $date = date_i18n( $datef, strtotime( $revision->post_modified ) );
    10521052    if ( $link && current_user_can( 'edit_post', $revision->ID ) && $link = get_edit_post_link( $revision->ID ) )
    10531053        $date = "<a href='$link'>$date</a>";
Note: See TracChangeset for help on using the changeset viewer.