globalizejs / globalizejs/globalize
Adjust unit categories to CLDR version
Open
- Dominant language
- JavaScript
- Stars
- 4.8k
- Forks
- 585
- PR merge metrics
- No merged PRs in 30d
Description
Currently, the unit formatter uses a [hard-coded list of unit categories](https://github.com/globalizejs/globalize/blob/master/src/unit/categories.js). This list is getting longer by CLDR version. Currently (v33), the following entries are missing:
"concentr", "consumption", "electric", "energy", "frequency"
See https://www.unicode.org/repos/cldr/tags/release-33/common/validity/unit.xml
Contributor guide
Assessment
This issue has not been assessed yet.