purescript-precise-datetime icon indicating copy to clipboard operation
purescript-precise-datetime copied to clipboard

leap seconds are not handled correctly by node

Open themattchan opened this issue 6 years ago • 0 comments

on node/chrome

> new Date("2001-01-01T23:59:60Z")
Invalid Date

on safari:

> new Date("2001-01-01T23:59:60Z")
< Mon Jan 01 2001 16:00:00 GMT-0800 (PST)

themattchan avatar Apr 13 '18 23:04 themattchan