Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

Add numberFields to README #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,15 @@ Boolean for whether or not `pluralRuleFunction`s should be extracted for the spe

#### `relativeFields`

Boolean for whether or not `fields` should be extracted for the specified `locales`. The field data that's extracted is limited to the data required to support FormatJS' relative time formatting features, and it's organized in the shape described above.
Boolean for whether or not `fields` should be extracted for the specified `locales`. The field data that's extracted is limited to the data required to support FormatJS' relative time formatting features, and it's organized in the shape described below.

```js
{ "locale": "bh", "numbers": { "decimal": { "long": [ [1000, { "other": ["0K", 1]}], [10000, { "other": ["00K", 2] }], ...] } } }
```

#### `numberFields`

Boolean for whether or not `numbers` should be extracted for the specified `locales`. The field data that's extracted is limited to the data required to support FormatJS' number formatting features, and it's organized in the shape described above.


## Updating the CLDR Data
Expand Down