Skip to content
Permalink
Browse files
Merge pull request #1580 from getnikola/rss-gmt-last-build-date
RSS2 expects lastBuildDate to be GMT.
  • Loading branch information
Kwpolska committed Jan 17, 2015
2 parents 7987770 + fc93c5d commit 2e3c4b78f0027d878cc24630ac8e3fed6e02fd8e
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 2e3c4b7

Please sign in to comment.