New GitHub issue #103122 from rffontenelle:<br>

<hr>

<pre>
The Sphinx `|today|` variable in Python Docs is rendered in the English time format "month day, year" even when browsing in other languages. This is mostly (or only?) noticeable in What's New in Python, e.g. [3.11](https://docs.python.org/3.11/whatsnew/3.11.html).

I'd expect the date to honor the language's time format as translated in Sphinx. Taking version 4.5.0 which is used to build Python Docs 3.11, [pt_BR](https://github.com/sphinx-doc/sphinx/blob/c470402cfbeb14cf1c85b27437f7649ef0da61e5/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.po#L927) and [fr](https://github.com/sphinx-doc/sphinx/blob/c470402cfbeb14cf1c85b27437f7649ef0da61e5/sphinx/locale/fr/LC_MESSAGES/sphinx.po#L947) are translated to show "day month, year".

The source of this issue seems to be in [Doc/conf.py](https://github.com/python/cpython/blob/7d1d66341838d7d1963c9ee7ffca2950d3a751fd/Doc/conf.py#L59) which sets [today_fmt](https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-today)'s value, hence overriding Sphinx default value and its translations.

Steps to reproduce:
- Browse original [What's New in Python 3.11](https://docs.python.org/3.11/whatsnew/3.11.html) and see `Date: March 29, 2023`
- In the language drop-down menu, select Brazilian Portuguese and see `Date: março 29, 2023` where should be 29 março, 2023
- Now select French, see `Date: mars 29, 2023` where should be 29 mars, 2023
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/103122">View on GitHub</a>
<p>Labels: type-bug</p>
<p>Assignee: </p>