Changeset 2373

Show
Ignore:
Timestamp:
02/24/05 18:28:25 (4 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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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() ?>