# New Ticket Created by Jan Ingvoldstad # Please include the string: [perl #68434] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=68434 >
Rakudo revision: 8d7fc7d4a16b26b4b539de8c08a030cfecfe1bb5 OS (uname -r): Linux knuth 2.6.24-17-generic #1 SMP Thu May 1 13:57:17 UTC 2008 x86_64 GNU/Linux Distribution: Ubuntu hardy Code: (Time.new.gmtime.epoch - time.truncate).say; Expected result: 23 or 22, depending on rounding. Result: 0 (zero) or -1, depending on rounding According to S32::Temporal, gmtime is in UTC, and that should include leap seconds, while time follows epoch, which usually doesn't. See also http://hpiers.obspm.fr/eop-pc/earthor/utc/leapsecond.html Sorry, no patch. :) -- Jan