]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: Add the time to the HTML last updated format (#110091)
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>
Wed, 15 Nov 2023 04:04:28 +0000 (04:04 +0000)
committerGitHub <noreply@github.com>
Wed, 15 Nov 2023 04:04:28 +0000 (04:04 +0000)
Doc/conf.py

index c92ea60ee07094c71c5e8791791cd7cdf98350f9..f1b411126c4e8716d6fa168b73cecc0506ecb18f 100644 (file)
@@ -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']