Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Commit 751f0dc

Browse files
committed
Merge branch 'HTenkanen-master'
2 parents dc568d8 + 5c202d4 commit 751f0dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinxcontrib/versioning/sphinx_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def html_page_context(cls, app, pagename, templatename, context, doctree):
135135
if os.path.isfile(file_path):
136136
lufmt = app.config.html_last_updated_fmt or getattr(locale, '_')('%b %d, %Y')
137137
mtime = datetime.datetime.fromtimestamp(os.path.getmtime(file_path))
138-
context['last_updated'] = format_date(lufmt, mtime, language=app.config.language, warn=app.warn)
138+
context['last_updated'] = format_date(lufmt, mtime, language=app.config.language)
139139

140140

141141
def setup(app):

0 commit comments

Comments
 (0)