From 57231d6421201f678953da94c05399f70223769c Mon Sep 17 00:00:00 2001 From: snewcomer Date: Mon, 19 Nov 2018 20:27:11 -0800 Subject: [PATCH 1/2] Add numberFields to README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 869ba7e..996b511 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,10 @@ Boolean for whether or not `pluralRuleFunction`s should be extracted for the spe 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. +#### `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 From 682944e50b10eb97cd46897716d8773566fc2e22 Mon Sep 17 00:00:00 2001 From: snewcomer Date: Mon, 19 Nov 2018 20:51:00 -0800 Subject: [PATCH 2/2] update readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 996b511..9fd629c 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,11 @@ 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`