Merge branch 'fix-tz' into 'master'
Make sure articles from feed have correct timezone See merge request !3
This commit is contained in:
commit
bd36f5719d
|
@ -52,7 +52,7 @@ def main():
|
||||||
<p>{text}</p>
|
<p>{text}</p>
|
||||||
|
|
||||||
""".format(title=d['title'].strip(), slug=slug,
|
""".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(),
|
link=d['link'].strip(),
|
||||||
text=d['summary'].strip()))
|
text=d['summary'].strip()))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue