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
Instant.from-posix is too eager with adding extra 10 seconds for TAI - UTC difference #5805
Comments
From @zoffixznetThe Instant.from-posix adds leap seconds to the provided argument: <ZoffixW> m: say Instant.from-posix: 99999990 And if you give low-enough values, you'll notice there's a special <ZoffixW> m: say Instant.from-posix: 0 However, it appears those 10 extra seconds are not supposed to be From Wikipedia's aticle on TAI[^1]: TAI is exactly 36 seconds ahead of UTC. The 36 seconds results So to me, it appears like the method must not add those extra 10 |
From @lizmat
I interpret https://en.wikipedia.org/wiki/Leap_second as the current behaviour being correct (since at least 1958). Liz |
The RT System itself - Status changed from 'new' to 'open' |
From @lizmat
I interpret https://en.wikipedia.org/wiki/Leap_second as the current behaviour being correct (since at least 1958). Liz |
From @zoffixznetIRC Conversation: https://irclog.perlgeek.de/perl6/2016-11-17#i_13586438 |
Migrated from rt.perl.org#130123 (status was 'open')
Searchable as RT130123$
The text was updated successfully, but these errors were encountered: