Make WordPress Core

Changeset 2388 for trunk/wp-atom.php


Ignore:
Timestamp:
02/27/2005 04:51:32 AM (20 years ago)
Author:
ryan
Message:

Use UTC times in atom feed. http://mosquito.wordpress.org/view.php?id=983 Hat tip: darkcanuck

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-atom.php

    r2366 r2388  
    3333        <link rel="alternate" type="text/html" href="<?php permalink_single_rss() ?>" />
    3434        <id><?php the_guid(); ?></id>
    35         <modified><?php the_time('Y-m-d\TH:i:s\Z'); ?></modified>
    36         <issued>  <?php the_time('Y-m-d\TH:i:s\Z'); ?></issued>
     35        <modified><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></modified>
     36        <issued><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></issued>
    3737        <?php the_category_rss('rdf') ?>
    3838        <summary type="<?php bloginfo('html_type'); ?>" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
Note: See TracChangeset for help on using the changeset viewer.