Permalink
Browse files

MDL-12563 Fixed RSS dates so that they are always GMT

  • Loading branch information...
1 parent 32579e3 commit 1e1e2438c6f3e7b21fa20bac01e9d984c7d14ecc moodler committed Sep 16, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rsslib.php
View
@@ -220,7 +220,7 @@ function rss_add_items($items) {
$result .= rss_full_tag('title',3,false,strip_tags($item->title));
$result .= rss_full_tag('link',3,false,$item->link);
$result .= rss_add_enclosures($item);
- $result .= rss_full_tag('pubDate',3,false,date('D, d M Y H:i:s T',$item->pubdate));
+ $result .= rss_full_tag('pubDate',3,false,gmdate('D, d M Y H:i:s',$item->pubdate).' GMT'); # MDL-12563
//Include the author if exists
if (isset($item->author)) {
//$result .= rss_full_tag('author',3,false,$item->author);

0 comments on commit 1e1e243

Please sign in to comment.