4 ms·
Are those open source APIs standardized though? JS and browser standards are a different beast altogether than e.g. date library documentation. They need to wri
by Cthulhu_ 2y ago
Are those open source APIs standardized though? JS and browser standards are a different beast altogether than e.g. date library documentation. They need to write and specify exact behaviour, so that multiple implementations can be written by all relevant parties.
- burntsushi 2y agoIndeed. For anyone interested in Temporal specifically, they can see the proposal here: https://tc39.es/proposal-temporal/ https://tc39.es/proposal-temporal/ Here's an example of the specification for computing the duration between two dates: https://tc39.es/proposal-temporal/#sec-temporal-calendardateuntil https://tc39.es/proposal-temporal/#sec-temporal-calendardate... (I picked one of the "simpler" ones. Have fun.)