mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Docs: Add the time to the HTML last updated format (#110091)
This commit is contained in:
parent
4744f59a5e
commit
6c214dea7c
1 changed files with 2 additions and 3 deletions
|
@ -288,9 +288,8 @@ html_context = {
|
|||
"pr_id": os.getenv("READTHEDOCS_VERSION")
|
||||
}
|
||||
|
||||
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
||||
# using the given strftime format.
|
||||
html_last_updated_fmt = '%b %d, %Y'
|
||||
# This 'Last updated on:' timestamp is inserted at the bottom of every page.
|
||||
html_last_updated_fmt = time.strftime('%b %d, %Y (%H:%M UTC)', time.gmtime())
|
||||
|
||||
# Path to find HTML templates.
|
||||
templates_path = ['tools/templates']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue