diff options
author | Bharat Mediratta <bharat@menalto.com> | 2012-05-07 13:29:52 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2012-05-07 13:30:39 -0700 |
commit | 6effd5f75ee6a0972b0fbad5a15c6b7e8bf5ce8e (patch) | |
tree | e5bbf75c421aeddd44eab83c8accdd7ff6193267 /modules/comment/helpers/comment_rss.php | |
parent | ce3530100fb9279001f2918955e943c7cc97d590 (diff) |
Update date format to make it RFC822 compliant. Thanks to moullas. Fixes #1798.
Diffstat (limited to 'modules/comment/helpers/comment_rss.php')
-rw-r--r-- | modules/comment/helpers/comment_rss.php | 2 |
1 files changed, 1 insertions, 1 deletions
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, |