aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2012-11-13 23:48:18 -0500
committerGuillaume Horel <guillaume.horel@gmail.com>2012-11-13 23:48:18 -0500
commite92f8608664381b6002a025e490588df208234cc (patch)
treee1ed11f03bd8af45999d21b3e1e2b4379721a5ca /templates
parent7bc18ad4630fe4c525ccb66f21d47486d5c48b2b (diff)
downloadfamille-flask-e92f8608664381b6002a025e490588df208234cc.tar.gz
fix dates in rss feed
Diffstat (limited to 'templates')
-rw-r--r--templates/rss.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/rss.xml b/templates/rss.xml
index d0e7caa..82363cb 100644
--- a/templates/rss.xml
+++ b/templates/rss.xml
@@ -11,7 +11,7 @@
<author>{{news.name}}</author>
<link>http://famille.horel.org{{url_for('show_news', news_id=news.id)}}</link>
<description>{{news.content_cache}}</description>
-<pubDate>{{news.date}}</pubDate>
+<pubDate>{{news.date|format_rfc2822}}</pubDate>
<guid>{{news.id}}</guid>
</item>
{% endfor %}