-
Notifications
You must be signed in to change notification settings - Fork 33
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
UTCTime cannot represent leap seconds #3
Comments
But In any case, I'm not aware of any common OS interface that allows one to query for the absolute time (TAI) that doesn't involve working backwards from a UTC time communicated over NTP, so we're stuck with There is a current proposal to abolish leap seconds and perhaps adopt a new time scale (TI?). The vote is due in 2015, unless it ends up being postponed again. |
In November 2015 the ITU decided that leap seconds remain with us for the foreseeable future - at least until 2023. We should fix this now. I think the ideas of @liyang to resolve this are good. But in my opinion, the biggest issue here is documentation. |
Just found out about this. This is a major issue, could we add a little info at least to Data.Thyme.Time / front haddock page, where people are looking first? Could it be fixed by storing time modulo 86401 instead of 86400? |
UTCTime
is represented as aNominalDiffTime
since MJD epoch.This is problematic since we now cannot distinguish between leap seconds and the following second that belongs to the next day.
The text was updated successfully, but these errors were encountered: