Skip to content

Commit 6c214de

Browse files
authored
Docs: Add the time to the HTML last updated format (#110091)
1 parent 4744f59 commit 6c214de

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)