-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Docs: Add the time to the HTML last updated format #110091
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you for today that.
... Do you have access to the timezone?
If you have no timezone information, can we use UTC timestamp? |
Co-authored-by: Victor Stinner <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, even better with the timezone :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Ah right, UTC is better. time.gmtime() is documented to return time in UTC timezone: https://docs.python.org/dev/library/time.html#time.gmtime |
Thanks @AA-Turner for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
(cherry picked from commit 6c214de) Co-authored-by: Adam Turner <[email protected]>
GH-112102 is a backport of this pull request to the 3.12 branch. |
(cherry picked from commit 6c214de) Co-authored-by: Adam Turner <[email protected]>
GH-112103 is a backport of this pull request to the 3.11 branch. |
…#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]>
…#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]>
I need this feature. I never understand if https://docs.python.org/dev/ was updated or not. So I merged the PR. Thanks @AA-Turner for this nice enhancement! |
python/docsbuild-scripts#163
Before:
After:
A
📚 Documentation preview 📚: https://cpython-previews--110091.org.readthedocs.build/