Update date format to make it RFC822 compliant. Thanks to moullas. Fixes #1798.

This commit is contained in:
Bharat Mediratta
2012-05-07 13:30:39 -07:00
parent ce3530100f
commit 6effd5f75e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
<title><?= html::purify($item->title) ?></title>
<link><?= url::abs_site("{$item->type}s/{$item->id}") ?></link>
<guid isPermaLink="true"><?= url::abs_site("{$item->type}s/{$item->id}") ?></guid>
<pubDate><?= date("D, d M Y H:i:s T", $item->created); ?></pubDate>
<pubDate><?= date("D, d M Y H:i:s O", $item->created); ?></pubDate>
<description><?= html::purify($item->description) ?></description>
<content:encoded>
<![CDATA[