Skip to content

Commit

Permalink
Docs: Add the time to the HTML last updated format (python#110091)
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner authored Nov 15, 2023
1 parent 4744f59 commit 6c214de
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,8 @@
"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']
Expand Down

0 comments on commit 6c214de

Please sign in to comment.