Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
vstinner merged 7 commits intopython:mainfromAA-Turner:docs/last-updated-time
Nov 15, 2023

Conversation

AA-Turner
Copy link
Member

@AA-TurnerAA-Turner commentedSep 29, 2023
edited by github-actionsbot
Loading

Copy link
Member

@vstinnervstinner left a 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?

@vstinner
Copy link
Member

If you have no timezone information, can we use UTC timestamp?

willingc reacted with thumbs up emoji

@vstinner
Copy link
Member

Co-authored-by: Victor Stinner <vstinner@python.org>
Copy link
Member

@vstinnervstinner left a 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 :-)

@hugovk
Copy link
Member

👍

image

@AA-Turner
Copy link
MemberAuthor

Now:

image

A

Copy link
Member

@hugovkhugovk left a comment
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks good:

image

Non-blocking:

I'd still prefer "UTC" instead of "GMT", strictly speaking they're not the same: GMT is a timezone used by some countries, UTC is the standard. And UTC is maybe better known, judging by Google results (GMT: "About 527 000 000 results", UTC: "About 2 550 000 000 results").

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM.

@vstinner
Copy link
Member

Ah right, UTC is better. time.gmtime() is documented to return time inUTC timezone:https://docs.python.org/dev/library/time.html#time.gmtime

@vstinnervstinnerenabled auto-merge (squash)November 15, 2023 03:56
@vstinnervstinner merged commit6c214de intopython:mainNov 15, 2023
@miss-islington-app
Copy link

Thanks@AA-Turner for the PR, and@vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestNov 15, 2023
(cherry picked from commit6c214de)Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
@bedevere-app
Copy link

GH-112102 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelNov 15, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestNov 15, 2023
(cherry picked from commit6c214de)Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
@bedevere-app
Copy link

GH-112103 is a backport of this pull request to the3.11 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.11only security fixes labelNov 15, 2023
vstinner pushed a commit that referenced this pull requestNov 15, 2023
…#112102)Docs: Add the time to the HTML last updated format (GH-110091)(cherry picked from commit6c214de)Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
vstinner pushed a commit that referenced this pull requestNov 15, 2023
…#112103)Docs: Add the time to the HTML last updated format (GH-110091)(cherry picked from commit6c214de)Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
@vstinner
Copy link
Member

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!

hugovk reacted with rocket emoji

aisk pushed a commit to aisk/cpython that referenced this pull requestFeb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull requestSep 2, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@vstinnervstinnervstinner approved these changes

@hugovkhugovkhugovk approved these changes

Assignees
No one assigned
Labels
docsDocumentation in the Doc dirskip issueskip news
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@AA-Turner@vstinner@hugovk

[8]ページ先頭

©2009-2025 Movatter.jp