Subj : Re: 'Leap Second' to Be Added on New Year's Eve This Year To : All From : Not@mail.invalid Date : Sat Dec 31 2016 14:29:00 Subject: Re: 'Leap Second' to Be Added on New Year's Eve This Year From: Mark Lloyd On 12/30/2016 04:37 PM, Keith Thompson wrote: [snip] > That depends on how Javascript, or the code your web page is running, > handles leap seconds. > I did make a little change yesterday, to limit the Javascript Date.getSeconds() and Date.getUTCSeconds() function return value to 59, since the analog clock can't display properly (since it uses an angle 60 = 0). That is, I have it show 23:59:60 as 23:59:59 rather than 23:59:00. -- Mark Lloyd http://notstupid.us/ "Call on God, but row away from the rocks." [Indian proverb] --- ViaMAIL!/WC v2.00 * Origin: ViaMAIL! - Lightning Fast Mailer for Wildcat! (1:261/20) .