Make WordPress Core

Changeset 2373


Ignore:
Timestamp:
02/24/2005 06:28:25 PM (20 years ago)
Author:
ryan
Message:

Use get_post_time() in rss2 feed. Use UTC time. http://mosquito.wordpress.org/view.php?id=891 Props: jesse

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-rss2.php

    r2366 r2373  
    3434        <link><?php permalink_single_rss() ?></link>
    3535        <comments><?php comments_link(); ?></comments>
    36         <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_the_time('Y-m-d H:i:s'), false); ?></pubDate>
     36                                                                                     <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate>
    3737        <dc:creator><?php the_author() ?></dc:creator>
    3838        <?php the_category_rss() ?>
Note: See TracChangeset for help on using the changeset viewer.