WordPress.org

Make WordPress Core

Changeset 1041


Ignore:
Timestamp:
03/31/2004 05:16:22 PM (16 years ago)
Author:
michelvaldrighi
Message:

fixed dates to use GMT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-rss2.php

    r1022 r1041  
    3434    <language><?php echo $rss_language ?></language>
    3535    <copyright>Copyright <?php echo mysql2date('Y', get_lastpostdate()); ?></copyright>
    36     <pubDate><?php echo gmdate('r'); ?></pubDate>
     36    <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT')); ?></pubDate>
    3737    <generator>http://wordpress.org/?v=<?php echo $wp_version ?></generator>
    3838
     
    4242        <link><?php permalink_single_rss() ?></link>
    4343        <comments><?php comments_link(); ?></comments>
    44         <pubDate><?php the_time('r'); ?></pubDate>
     44        <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', $post->post_date_gmt); ?></pubDate>
    4545        <author><?php the_author() ?> (mailto:<?php the_author_email() ?>)</author>
    4646        <?php the_category_rss() ?>
Note: See TracChangeset for help on using the changeset viewer.