globalizejs / globalizejs/globalize

Adjust unit categories to CLDR version

Open
#843 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.