From 7d2ca301d2b41ee4a8df1c6157bb617266c1128c Mon Sep 17 00:00:00 2001 From: Remi Rampin Date: Tue, 29 Aug 2017 12:17:20 -0400 Subject: [PATCH] Make sure articles from feed have correct timezone --- import_feed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/import_feed.py b/import_feed.py index e46c3c3..93627d3 100755 --- a/import_feed.py +++ b/import_feed.py @@ -52,7 +52,7 @@ def main():

{text}

""".format(title=d['title'].strip(), slug=slug, - date=date.strftime('%Y-%m-%d %H:%M:%S'), + date=date.strftime('%Y-%m-%dT%H:%M:%S+00:00'), link=d['link'].strip(), text=d['summary'].strip()))