mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
Update date format to make it RFC822 compliant. Thanks to moullas. Fixes #1798.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user