Take advantage of date_to_rfc822

Jekyll has a filter built just for this purpose
This commit is contained in:
Pat Hawks 2014-05-23 09:34:49 -05:00
parent 8d65c9c92f
commit 43074632b3
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ layout: none
<item> <item>
<title>{{ post.title | xml_escape }}</title> <title>{{ post.title | xml_escape }}</title>
<description>{{ post.content | xml_escape }}</description> <description>{{ post.content | xml_escape }}</description>
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate> <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link> <link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid> <guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
</item> </item>