spencermountain / spacetime

A lightweight javascript timezone library
http://spacetime.how/
Other
3.99k stars 184 forks source link

fixes non-standard iso-format overflow issue #246

Closed joonassiren closed 3 years ago

joonassiren commented 3 years ago

Opening a PR to fix an issue we had in our Prod environment, where a UTC timestamp with 6-digit millisecond precision caused the spacetime date to overflow and give us a faulty date. e.g. 2017-08-06T09:00:00.123456Z will give 2017-08-06T09:00:01.234Z

spencermountain commented 3 years ago

thank you!

spencermountain commented 3 years ago

released as 6.11.0