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

Implement leap seconds as an option #12

Open
benfitzpatrick opened this issue Jul 24, 2013 · 0 comments
Open

Implement leap seconds as an option #12

benfitzpatrick opened this issue Jul 24, 2013 · 0 comments
Milestone

Comments

@benfitzpatrick
Copy link
Contributor

UTC allows for insertion of extra leap seconds (or removal of existing seconds) based on the variation of the Earth's rotational period with respect to the ICRF.

This means that some days do not have 86400 seconds, some hours do not have 3600 seconds, and some minutes do not have 60 seconds. For example, the sequence of seconds in UTC following 2012-06-30T23:59:58 begins with:

2012-06-30T23:59:59
2012-06-30T23:59:60
2012-07-01T00:00:00

Positive or negative leap second application is not particularly predictable and is governed by physical observations of the Earth's rotational period - however, there are historical leap seconds that we could add if we wished.

This would definitely have to be an option which defaults to off, as leap seconds can cause severe problems for other software. Leap second smearing is beyond the scope of this library, but is another approach.

@ghost ghost assigned benfitzpatrick Jul 24, 2013
@arjclark arjclark modified the milestones: later, some-day Dec 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants