don't translate months and weekdays in date strings
git-svn-id: https://develop.svn.wordpress.org/trunk@1337 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5ffeea8e7c
commit
8b1f52e4c0
@ -16,7 +16,7 @@ header('Content-type: text/xml', true);
|
||||
<title><?php bloginfo_rss('name') ?></title>
|
||||
<link><?php bloginfo_rss('url') ?></link>
|
||||
<description><?php bloginfo_rss('description') ?></description>
|
||||
<lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT')); ?></lastBuildDate>
|
||||
<lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), 0); ?></lastBuildDate>
|
||||
<docs>http://backend.userland.com/rss092</docs>
|
||||
|
||||
<?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
if (!isset($feed)) {
|
||||
$blog = 1;
|
||||
$doing_rss = 1;
|
||||
// $doing_rss = 1; # DEBUG
|
||||
require('wp-blog-header.php');
|
||||
}
|
||||
$more = 1;
|
||||
@ -23,7 +23,7 @@ header('Content-type: text/xml', true);
|
||||
<link><?php bloginfo_rss('url') ?></link>
|
||||
<description><?php bloginfo_rss("description") ?></description>
|
||||
<copyright>Copyright <?php echo mysql2date('Y', get_lastpostdate()); ?></copyright>
|
||||
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT')); ?></pubDate>
|
||||
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), 0); ?></pubDate>
|
||||
<generator>http://wordpress.org/?v=<?php echo $wp_version ?></generator>
|
||||
|
||||
<?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?>
|
||||
@ -31,7 +31,7 @@ header('Content-type: text/xml', true);
|
||||
<title><?php the_title_rss() ?></title>
|
||||
<link><?php permalink_single_rss() ?></link>
|
||||
<comments><?php comments_link(); ?></comments>
|
||||
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', $post->post_date_gmt); ?></pubDate>
|
||||
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', $post->post_date_gmt, 0); ?></pubDate>
|
||||
<?php the_category_rss() ?>
|
||||
<guid><?php the_permalink($id); ?></guid>
|
||||
<?php if (get_settings('rss_use_excerpt')) : ?>
|
||||
|
Loading…
Reference in New Issue
Block a user