3 ms·
> Burn it and start again Good news! The builtin Temporal API is on its way. It's widely regarded as a solid API, learning from some of the best time APIs in o
by spiffytech 1y ago
> Burn it and start again
Good news! The builtin Temporal API is on its way. It's widely regarded as a solid API, learning from some of the best time APIs in other languages.
In terms of parsing, it looks like Temporal only accepts RFC 9557 strings (an extension of ISO 8601 / RFC 3339). Anything else throws an exception.
- zelphirkalt 1y agoBad news: shitty designed parts are here to stay, because people will cry for backwards compatibility.
- pavel_lishin 1y agoSure. But people don't have to keep using them. Of course... they will. Because there are going to be more outdated results on search engines for Date, instead of the Temporal API. But at least there's something positive coming!