Skip to content
Permalink
Browse files
RSS2 expects lastBuildDate to be GMT.
PyRSS2Gen expects the lastBuildDate to be in GMT, and ignores any
timezone information when generating the RSS.
  • Loading branch information
punchagan committed Jan 16, 2015
1 parent 7987770 commit fc93c5d51512384e3755fa51d9157e00d49c6c70
Showing with 2 additions and 2 deletions.
  1. +1 −1 nikola/nikola.py
  2. +1 −1 nikola/plugins/task/galleries.py
@@ -1021,7 +1021,7 @@ def generic_rss_renderer(self, lang, title, link, description, timeline, output_
title=title,
link=link,
description=description,
lastBuildDate=datetime.datetime.now(),
lastBuildDate=datetime.datetime.utcnow(),
generator='http://getnikola.com/',
language=lang
)
@@ -575,7 +575,7 @@ def make_url(url):
title=title,
link=make_url(permalink),
description='',
lastBuildDate=datetime.datetime.now(),
lastBuildDate=datetime.datetime.utcnow(),
items=items,
generator='http://getnikola.com/',
language=lang

0 comments on commit fc93c5d

Please sign in to comment.