Skip to content
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

Definitions of time #80421

Closed
RobertBilling mannequin opened this issue Mar 8, 2019 · 5 comments
Closed

Definitions of time #80421

RobertBilling mannequin opened this issue Mar 8, 2019 · 5 comments
Assignees
Labels
3.7 (EOL) end of life docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@RobertBilling
Copy link
Mannequin

RobertBilling mannequin commented Mar 8, 2019

BPO 36240
Nosy @mdickinson, @abalkin, @pganssle

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2019-03-08.14:28:59.094>
labels = ['type-feature', '3.7', 'docs']
title = 'Definitions of time'
updated_at = <Date 2019-03-11.18:51:12.911>
user = 'https://bugs.python.org/RobertBilling'

bugs.python.org fields:

activity = <Date 2019-03-11.18:51:12.911>
actor = 'p-ganssle'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2019-03-08.14:28:59.094>
creator = 'Robert Billing'
dependencies = []
files = []
hgrepos = []
issue_num = 36240
keywords = []
message_count = 3.0
messages = ['337482', '337675', '337691']
nosy_count = 5.0
nosy_names = ['mark.dickinson', 'belopolsky', 'docs@python', 'p-ganssle', 'Robert Billing']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue36240'
versions = ['Python 3.7']

Linked PRs

@RobertBilling
Copy link
Mannequin Author

RobertBilling mannequin commented Mar 8, 2019

https://docs.python.org/3.7/library/time.html contains the text "UTC is Coordinated Universal Time (formerly known as Greenwich Mean Time, or GMT)". This is not strictly true. Referring to https://en.wikipedia.org/wiki/Coordinated_Universal_Time the definition of UTC is in terms of frequency standards, GMT in terms of astronomy. Hence with GMT each minute has exactly 60 seconds, but the length of the second may vary slightly to account for changes in the Earth's rotation. With UTC each second is the same length, but "leap seconds" can be inserted or removed giving 59 and 61 second minutes. The leap seconds keep the two systems in sync to less than one second.

This of course only matters for the most critical applications, but it would be worth documenting correctly.

@RobertBilling RobertBilling mannequin added the 3.7 (EOL) end of life label Mar 8, 2019
@RobertBilling RobertBilling mannequin assigned docspython Mar 8, 2019
@RobertBilling RobertBilling mannequin added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Mar 8, 2019
@abalkin
Copy link
Member

abalkin commented Mar 11, 2019

How about replacing "formerly known as Greenwich Mean Time, or GMT" with "which superseded Greenwich Mean Time or GMT as the basis of international timekeeping"?

I don't think Python reference manual is the right place to explain the difference between UTC and GMT, but since we have time.gmtime() function, GMT should still be mentioned.

@pganssle
Copy link
Member

I also think it would be ideal to avoid getting into too much detail about the definitions of UTC and GMT in a general sense. Instead, we should probably refer to some better source on the matter and maybe focus on how UTC and GMT are used *in this document*?

For example, the gmtime function is explicitly defined in terms of UTC in the documentation, and just has a possibly slightly inaccurate name. Perhaps a wording like "Occasionally the abbreviations 'GMT' and 'UTC' are used interchangeably, despite the fact that this is somewhat inaccurate. For more information about the difference between UTC and GMT, see ."

As something of an aside, the same bullet point says this:

The acronym UTC is not a mistake but a compromise between English and French.

This came up recently on the tz mailing list, where it was claimed that there is no contemporary evidence to support this: https://mm.icann.org/pipermail/tz/2019-March/027736.html

It may be worth removing this sentence or rewording it to be more neutral, like "The acronym UTC is not a mistake but conforms to an earlier, language-agnostic naming scheme for time standards: UT0, UT1, etc." I can move the discussion of the "UTC acronym" wording into a separate ticket if it's distracting from this one.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
@abalkin abalkin self-assigned this Feb 9, 2023
terryjreedy pushed a commit that referenced this issue Mar 9, 2025
Based on the Wikipedia article, UTC is better said to be a successor than a renaming of GTC and language agnostic rather than an English-French compromise.
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Mar 9, 2025
Based on the Wikipedia article, UTC is better said to be a successor than a renaming of GTC and language agnostic rather than an English-French compromise.
(cherry picked from commit 98fa4a4)

Co-authored-by: Stan Ulbrych <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Mar 9, 2025
Based on the Wikipedia article, UTC is better said to be a successor than a renaming of GTC and language agnostic rather than an English-French compromise.
(cherry picked from commit 98fa4a4)

Co-authored-by: Stan Ulbrych <[email protected]>
terryjreedy pushed a commit that referenced this issue Mar 9, 2025
gh-80421: Correct definitions of time (GH-130984)

Based on the Wikipedia article, UTC is better said to be a successor than a renaming of GTC and language agnostic rather than an English-French compromise.
(cherry picked from commit 98fa4a4)

Co-authored-by: Stan Ulbrych <[email protected]>
terryjreedy pushed a commit that referenced this issue Mar 9, 2025
gh-80421: Correct definitions of time (GH-130984)

Based on the Wikipedia article, UTC is better said to be a successor than a renaming of GTC and language agnostic rather than an English-French compromise.
(cherry picked from commit 98fa4a4)

Co-authored-by: Stan Ulbrych <[email protected]>
@terryjreedy
Copy link
Member

@StanFromIreland Your PR, including links to details, nicely handled the concerns expressed above.

@StanFromIreland
Copy link
Contributor

@terryjreedy Thanks :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.7 (EOL) end of life docs Documentation in the Doc dir type-feature A feature request or enhancement
Projects
Development

No branches or pull requests

4 participants