summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2023-11-15 04:04:28 (GMT)
committerGitHub <noreply@github.com>2023-11-15 04:04:28 (GMT)
commit6c214dea7c503eb42bd130d43e8880f39bff0350 (patch)
tree263d6eb4e51c7c71e1776aead5178086e7c5e5f9 /Doc
parent4744f59a5e86690e76c35d9b9d79971ebe9a87d7 (diff)
downloadcpython-6c214dea7c503eb42bd130d43e8880f39bff0350.zip
cpython-6c214dea7c503eb42bd130d43e8880f39bff0350.tar.gz
cpython-6c214dea7c503eb42bd130d43e8880f39bff0350.tar.bz2
Docs: Add the time to the HTML last updated format (#110091)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/conf.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/conf.py b/Doc/conf.py
index c92ea60..f1b4111 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -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']