From 6effd5f75ee6a0972b0fbad5a15c6b7e8bf5ce8e Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 7 May 2012 13:29:52 -0700 Subject: Update date format to make it RFC822 compliant. Thanks to moullas. Fixes #1798. --- modules/comment/helpers/comment_rss.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/helpers') diff --git a/modules/comment/helpers/comment_rss.php b/modules/comment/helpers/comment_rss.php index cfee4727..be1968dc 100644 --- a/modules/comment/helpers/comment_rss.php +++ b/modules/comment/helpers/comment_rss.php @@ -65,7 +65,7 @@ class comment_rss_Core { foreach ($comments->find_all($limit, $offset) as $comment) { $item = $comment->item(); $feed->comments[] = new ArrayObject( - array("pub_date" => date("D, d M Y H:i:s T", $comment->created), + array("pub_date" => date("D, d M Y H:i:s O", $comment->created), "text" => nl2br(html::purify($comment->text)), "thumb_url" => $item->thumb_url(), "thumb_height" => $item->thumb_height, -- cgit v1.2.3