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

Commit 645d36e

Browse files
author
htenkanen
committed
Fix format_date call.
1 parent fd8c63f commit 645d36e

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
@@ -134,7 +134,7 @@ def html_page_context(cls, app, pagename, templatename, context, doctree):
134134
if os.path.isfile(file_path):
135135
lufmt = app.config.html_last_updated_fmt or getattr(locale, '_')('%b %d, %Y')
136136
mtime = datetime.datetime.fromtimestamp(os.path.getmtime(file_path))
137-
context['last_updated'] = format_date(lufmt, mtime, language=app.config.language, warn=app.warn)
137+
context['last_updated'] = format_date(lufmt, mtime, language=app.config.language)
138138

139139

140140
def setup(app):

0 commit comments

Comments
 (0)