mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
[3.12] Docs: Add the time to the HTML last updated format (GH-110091) (#112102)
Docs: Add the time to the HTML last updated format (GH-110091)
(cherry picked from commit 6c214dea7c
)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
parent
24216d0530
commit
c190552739
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