From c69fda0fbc8c4bacb7f25def367898d260bccb10 Mon Sep 17 00:00:00 2001 From: Laszlo Zeke Date: Sun, 2 Apr 2017 20:12:23 +0200 Subject: [PATCH] Fixing RFC-822 compatibility --- TwitchRSS/lib/feedformatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TwitchRSS/lib/feedformatter.py b/TwitchRSS/lib/feedformatter.py index a4578b1..b33be2a 100644 --- a/TwitchRSS/lib/feedformatter.py +++ b/TwitchRSS/lib/feedformatter.py @@ -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();