Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
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? |
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Victor Stinner <vstinner@python.org>
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 :-)
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
hugovk left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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 inUTC timezone:https://docs.python.org/dev/library/time.html#time.gmtime |
Uh oh!
There was an error while loading.Please reload this page.
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 commit6c214de)Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
GH-112102 is a backport of this pull request to the3.12 branch. |
(cherry picked from commit6c214de)Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
GH-112103 is a backport of this pull request to the3.11 branch. |
I need this feature. I never understand ifhttps://docs.python.org/dev/ was updated or not. So I merged the PR. Thanks@AA-Turner for this nice enhancement! |
Uh oh!
There was an error while loading.Please reload this page.
python/docsbuild-scripts#163
Before:
After:
A
📚 Documentation preview 📚:https://cpython-previews--110091.org.readthedocs.build/