Skip to content

Commit 4344c35

Browse files
Merge pull request #7 from xsolla/fix_fraction_size_for_BYN
Fix fraction size for BYN
2 parents ca9ca99 + 4f7f3ba commit 4344c35

File tree

3 files changed

+18
-16
lines changed

3 files changed

+18
-16
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 1.0.7 - 2017-01-26
4+
5+
- [fix] Fixed fraction size for IDR.
6+
7+
- [fix] Updated grapheme for PEN.
8+
9+
- [fix] Removed grapheme for CHF.
10+
11+
- [fix] Fixed fraction size for BYN.
12+
313
## 1.0.6 - 2016-06-30
414

515
- [feature] Add uniqSymbol for BYR and BYN.
@@ -22,4 +32,4 @@
2232

2333
## 1.0.1 - 2016-02-12
2434

25-
- [feature] Added Turkish Lira grapheme.
35+
- [feature] Added Turkish Lira grapheme.

currency-format.json

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@
277277
},
278278
"BYN": {
279279
"name": "Belarussian Ruble",
280-
"fractionSize": 0,
280+
"fractionSize": 2,
281281
"symbol": {
282282
"grapheme": "p.",
283283
"template": "1 $",
@@ -346,16 +346,8 @@
346346
"CHF": {
347347
"name": "Swiss Franc",
348348
"fractionSize": 2,
349-
"symbol": {
350-
"grapheme": "CHF",
351-
"template": "$1",
352-
"rtl": false
353-
},
354-
"uniqSymbol": {
355-
"grapheme": "CHF",
356-
"template": "$1",
357-
"rtl": false
358-
}
349+
"symbol": null,
350+
"uniqSymbol": null
359351
},
360352
"CHW": {
361353
"name": "WIR Franc",
@@ -745,7 +737,7 @@
745737
},
746738
"IDR": {
747739
"name": "Rupiah",
748-
"fractionSize": 3,
740+
"fractionSize": 2,
749741
"symbol": {
750742
"grapheme": "Rp",
751743
"template": "$1",
@@ -1341,12 +1333,12 @@
13411333
"name": "Nuevo Sol",
13421334
"fractionSize": 2,
13431335
"symbol": {
1344-
"grapheme": "S/.",
1336+
"grapheme": "S/",
13451337
"template": "$1",
13461338
"rtl": false
13471339
},
13481340
"uniqSymbol": {
1349-
"grapheme": "S/.",
1341+
"grapheme": "S/",
13501342
"template": "$1",
13511343
"rtl": false
13521344
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "currency-format",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "JSON with information about currencies: codes (ISO 4217), the names, grapheme (symbols) and formatting.",
55
"author": "Aleksey Pikhtovnikov <[email protected]>",
66
"repository": {

0 commit comments

Comments
 (0)