Stream: fhirpath.js
Topic: Leap seconds
Paul Lynch (Jan 01 2019 at 16:46):
I am working on adding support for DateTime and Time literals and resource values, and I just noticed that the newly published R4 now adds support for leap seconds in time values (see the regular expression for the time data type). In particular, "60" is now allowed as a value for seconds, and ideally one would have 00:00:59 < 00:00:60 < 00:01:00 . JavaScript does not like 60 as a value for seconds, and seems to have no support for leap seconds in general. I am thinking about just replacing "60" with "59" when I see it.
Last updated: Apr 12 2022 at 19:14 UTC