Make sure articles from feed have correct timezone
This commit is contained in:
parent
7a72011047
commit
7d2ca301d2
|
@ -52,7 +52,7 @@ def main():
|
|||
<p>{text}</p>
|
||||
|
||||
""".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()))
|
||||
|
||||
|
|
Loading…
Reference in New Issue