Skip to content

Commit c190552

Browse files
[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 6c214de) Co-authored-by: Adam Turner <[email protected]>
1 parent 24216d0 commit c190552

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Doc/conf.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,8 @@
288288
"pr_id": os.getenv("READTHEDOCS_VERSION")
289289
}
290290

291-
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
292-
# using the given strftime format.
293-
html_last_updated_fmt = '%b %d, %Y'
291+
# This 'Last updated on:' timestamp is inserted at the bottom of every page.
292+
html_last_updated_fmt = time.strftime('%b %d, %Y (%H:%M UTC)', time.gmtime())
294293

295294
# Path to find HTML templates.
296295
templates_path = ['tools/templates']

0 commit comments

Comments
 (0)