Skip to content

Commit

Permalink
Avoid error about _TranslationProxy
Browse files Browse the repository at this point in the history
This has been introduced in
sphinx-doc/sphinx#10949
  • Loading branch information
mgeier committed Apr 12, 2023
1 parent 3677b8f commit 98380d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sphinx_last_updated_by_git.py
Expand Up @@ -249,7 +249,7 @@ def _html_page_context(app, pagename, templatename, context, doctree):
utc_date = datetime.fromtimestamp(int(timestamp), timezone.utc)
date = utc_date.astimezone(app.config.git_last_updated_timezone)
context['last_updated'] = format_date(
lufmt or _('%b %d, %Y'),
lufmt or str(_('%b %d, %Y')),
date=date,
language=app.config.language)

Expand Down

0 comments on commit 98380d7

Please sign in to comment.