tc39 / ecma402

Status, process, and documents for ECMA 402
https://tc39.es/ecma402/
Other
540 stars 108 forks source link

Why not implementing full ICU Number Skeleton options? #732

Open floratmin opened 2 years ago

floratmin commented 2 years ago

I see that most of the options of ICU Number Skeletons have equivalent options in Intl.NumberFormat. But I do not understand why we fall short and do not implement the full spec. There are libraries for c++ and Java which implement all options (they also generate Skeletons) and it would take out all the rough edges when this spec could also be fully implemented by Intl.NumberFormat. Maybe there could also be a switch where users could opt-in to use the full ICU standard.

sffc commented 2 years ago

Support for skeletons, both number and date, may come as part of Intl.MessageFormat, which is at Stage 1 (https://github.com/tc39/proposal-intl-messageformat)