Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Update leap second lists #1093

Merged
merged 1 commit into from
Apr 30, 2019
Merged

Update leap second lists #1093

merged 1 commit into from
Apr 30, 2019

Conversation

Fang-
Copy link
Member

@Fang- Fang- commented Mar 4, 2019

I found a good source for the "leapsecond days", so I added that in as a comment, for future reference.

I'm unsure where the "leapsecond dates" was sourced from, having a hard time finding a source that uses those exact times, so I just did the "second at end of day" thing that the previous two leap seconds did.

(The list under +lef is an argument in favor of #1065. (^: )

@Fang- Fang- added the %zuse label Mar 4, 2019
@Fang- Fang- requested a review from belisarius222 March 4, 2019 22:30
@cgyarvin
Copy link
Contributor

cgyarvin commented Mar 4, 2019 via email

@belisarius222
Copy link

I know almost nothing about this subject. @Fang- or @cgyarvin any idea who would be more qualified to review this PR?

@Fang-
Copy link
Member Author

Fang- commented Mar 4, 2019

@belisarius222 no idea. I just tagged you randomly, this change as presented only requires the ability to fact-check.
For further discussion around the best approach to take (and how to move forward with whatever we decide on) we should definitely ask some time wizards.

Reference on (leap) time smearing here.

@Fang-
Copy link
Member Author

Fang- commented Mar 5, 2019

(For the record I think we're fine merging this in as a quick fix, and then discussing the proper approach to leap seconds in a dedicated issue.)

@ohAitch
Copy link
Contributor

ohAitch commented Mar 5, 2019 via email

@jtobin
Copy link
Contributor

jtobin commented Apr 25, 2019

@Fang- I peeked at this and it looks reasonable enough. Still want it merged?

@Fang- Fang- requested review from pilfer-pandex and removed request for belisarius222 April 25, 2019 08:43
@Fang-
Copy link
Member Author

Fang- commented Apr 25, 2019

I guess the decision on this is in @pilfer-pandex's hands?

Even if we want to do leap second smearing eventually, this should keep us accurate in the mean time. But curious to hear if anyone still has strong feelings about the "position not to respect leap seconds after the initial launch", which I only recently learned of.

@jtobin
Copy link
Contributor

jtobin commented Apr 25, 2019

Yeah, I agree that the issue of whether or not to adopt leap smearing (which is probably better) is separate from this quick fix of sorts.

@jtobin
Copy link
Contributor

jtobin commented Apr 29, 2019

@pilfer-pandex tagging you to check on this one. My thinking here is that:

  • This is fine for now
  • Someone should probably implement Google-style time smearing

But the latter should be handled in another issue.

I'll merge this tomorrow unless there are any complaints!

Copy link
Contributor

@pilfer-pandex pilfer-pandex left a comment

Choose a reason for hiding this comment

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

As the language person and hoon.hoon owner, I have no objections to this. We should revisit later to think more systematically about the policy decision, of course.

@@ -6882,28 +6882,33 @@
:: :: ++lef:yu:chrono:
++ lef :: leapsecond dates
^- (list @da)
:~ ~2015.6.30..23.59.59 ~2012.6.30..23.59.59
Copy link
Contributor

Choose a reason for hiding this comment

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

One minor comment: For better diff legibility around things like this in the future, we should probably have one entry per line

^- (list @da)
:~ ~2015.7.1 ~2012.7.1 ~2009.1.1 ~2006.1.1 ~1999.1.1 ~1997.7.1
Copy link
Contributor

Choose a reason for hiding this comment

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

likewise here

@jtobin jtobin merged commit e99d1ea into next Apr 30, 2019
@jtobin jtobin deleted the leap-seconds branch April 30, 2019 00:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants