Changeset 1337

Show
Ignore:
Timestamp:
05/21/04 22:32:58 (4 years ago)
Author:
michelvaldrighi
Message:

don't translate months and weekdays in date strings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-rss.php

    r1223 r1337  
    1717        <link><?php bloginfo_rss('url') ?></link> 
    1818        <description><?php bloginfo_rss('description') ?></description> 
    19         <lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT')); ?></lastBuildDate> 
     19   <lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), 0); ?></lastBuildDate> 
    2020        <docs>http://backend.userland.com/rss092</docs> 
    2121 
  • trunk/wp-rss2.php

    r1255 r1337  
    22if (!isset($feed)) { 
    33    $blog = 1; 
    4     $doing_rss = 1; 
     4    //    $doing_rss = 1;         # DEBUG 
    55    require('wp-blog-header.php'); 
    66} 
     
    2424    <description><?php bloginfo_rss("description") ?></description> 
    2525    <copyright>Copyright <?php echo mysql2date('Y', get_lastpostdate()); ?></copyright> 
    26     <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT')); ?></pubDate> 
     26    <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), 0); ?></pubDate> 
    2727    <generator>http://wordpress.org/?v=<?php echo $wp_version ?></generator> 
    2828 
     
    3232        <link><?php permalink_single_rss() ?></link> 
    3333        <comments><?php comments_link(); ?></comments> 
    34         <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', $post->post_date_gmt); ?></pubDate> 
     34        <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', $post->post_date_gmt, 0); ?></pubDate> 
    3535        <?php the_category_rss() ?> 
    3636        <guid><?php the_permalink($id); ?></guid>