Skip to content

Commit

Permalink
Merge pull request #1580 from getnikola/rss-gmt-last-build-date
Browse files Browse the repository at this point in the history
RSS2 expects lastBuildDate to be GMT.
  • Loading branch information
Kwpolska committed Jan 17, 2015
2 parents 7987770 + fc93c5d commit 2e3c4b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nikola/nikola.py
Expand Up @@ -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
)
Expand Down
2 changes: 1 addition & 1 deletion nikola/plugins/task/galleries.py
Expand Up @@ -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
Expand Down

0 comments on commit 2e3c4b7

Please sign in to comment.