Add UTC timestamps to the rss publication dates.

Without them, QuiteRSS was inferring the local time zone, which
changed with daylight savings time, which made all posts appear
as new even though the response from the server hadn't changed.
master
voussoir 2021-03-29 22:51:35 -07:00
parent e2e819427c
commit 886e88758a
No known key found for this signature in database
GPG Key ID: 5F7554F8C26DACCB
1 changed files with 2 additions and 2 deletions

View File

@ -465,7 +465,7 @@ def write_atom():
<id>{{article.publication_id}}</id>
<title>{{article.title|e}}</title>
<link rel="alternate" href="https://voussoir.net/writing/{{article.web_path}}"/>
<updated>{{article.date}}</updated>
<updated>{{article.date}}T00:00:00Z</updated>
<content type="html">
<![CDATA[
{{article.soup.article}}
@ -493,7 +493,7 @@ def write_rss():
<title>{{article.title|e}}</title>
<guid isPermalink="false">{{article.publication_id}}</guid>
<link>https://voussoir.net/writing/{{article.web_path}}</link>
<pubDate>{{article.date}}</pubDate>
<pubDate>{{article.date}}T00:00:00Z</pubDate>
<description>
<![CDATA[
{{article.soup.article}}