Fixing RFC-822 compatibility

This commit is contained in:
Laszlo Zeke 2017-04-02 20:12:23 +02:00
parent 248aeca9ab
commit c69fda0fbc
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ def _format_datetime(feed_type, time):
# Then, convert that to the appropriate string
if feed_type is "rss2":
return strftime("%a, %d %b %Y %H:%M:%S UTC", time)
return strftime("%a, %d %b %Y %H:%M:%S UT", time)
elif feed_type is "atom":
return strftime("%Y-%m-%dT%H:%M:%S", time) + _get_tz_offset();