mirror of
https://github.com/python/cpython
synced 2024-10-06 12:47:13 +00:00
Docs: Add the time to the HTML last updated format (#110091)
This commit is contained in:
parent
4744f59a5e
commit
6c214dea7c
|
@ -288,9 +288,8 @@
|
|||
"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…
Reference in a new issue