4 ms·
Coming but only available in one browser or run time, and then with a feature flag.
by nejsjsjsbsb 2y ago
Coming but only available in one browser or run time, and then with a feature flag.
- antihero 2y agoThere's a polyfill in the meantime.
- creesch 2y agoThat's generally how that works for new things like this. It is rare for a new thing like this to be adapted by everyone at the exact same time. Certainly within the context of browsers. There is a reason why websites like https://caniuse.com https://caniuse.com exist in the first place. If you pay attention you will also see that for APIs on MDN it will also have a browser compatibility list.
- nejsjsjsbsb 2y agoYes I am just saying how early this is. It is not a "watch out it may have some quirks on FF and break in Safari" early It's "Polyfill everywhere" early
- nekevss 2y agoMentioned elsewhere in this thread, but https://test262.fyi/# https://test262.fyi/# is great for keeping up to date with the current engine / interpreter support :)
- Cthulhu_ 2y agoTime and timezones are a big and complicated thing, I'm not surprised / appreciate they're taking their time with it. A library is temporary (ha) and is often superseded (e.g. momentjs -> luxon -> dayjs), but standard libraries are in it for the long time (Date has been around for 30 years and will be around for another 30 alongside Temporal).