Skip to content
Permalink
Browse files
Fix #2104 -- fix post-list date formatting
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Sep 20, 2015
1 parent 1a4cd48 commit 7ab1862d16b9b3a36df49c038fddcf5a9fec3805
Showing 2 changed files with 4 additions and 2 deletions.
@@ -1,4 +1,4 @@
New in Master
New in master
=============

Features
@@ -7,6 +7,7 @@ Features
Bugfixes
--------

* Fix reST post list date formatting error (Issue #2104)
* /robots.txt was never being built (Issue #2098)

New in v7.7.1
@@ -204,7 +204,8 @@ def run(self):
template_data = {
'lang': lang,
'posts': posts,
'date_format': self.site.GLOBAL_CONTEXT.get('date_format'),
# Need to provide str, not TranslatableSetting (Issue #2104)
'date_format': self.site.GLOBAL_CONTEXT.get('date_format')[lang],
'post_list_id': post_list_id,
}
output = self.site.template_system.render_template(

0 comments on commit 7ab1862

Please sign in to comment.