Skip to content

Commit a92b9e5

Browse files
[3.11] Docs: Add the time to the HTML last updated format (GH-110091) (#112103)
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 e73216d commit a92b9e5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Doc/conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,8 @@
280280
"pr_id": os.getenv("READTHEDOCS_VERSION")
281281
}
282282

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

287286
# Path to find HTML templates.
288287
templates_path = ['tools/templates']

0 commit comments

Comments
 (0)