From 9931100d66ab2e713d4fc8de3a2e2b6ae07e79ee Mon Sep 17 00:00:00 2001 From: Vadim Topolsky Date: Tue, 20 Mar 2018 12:26:33 +0500 Subject: [PATCH 1/2] Updated grapheme of uniqSymbol for IRR --- CHANGELOG.md | 5 +++++ currency-format.json | 2 +- package.json | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 271d9a3..3053842 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog +## 1.0.9 - 2018-03-20 + +- [fix] Updated grapheme for IRR. + ## 1.0.8 - 2017-12-15 + - [feature] Add cryptocurrencies ETH, BTC, LTC ## 1.0.7 - 2017-01-26 diff --git a/currency-format.json b/currency-format.json index d4c7a69..32b56ee 100644 --- a/currency-format.json +++ b/currency-format.json @@ -810,7 +810,7 @@ "rtl": true }, "uniqSymbol": { - "grapheme": ".ر.ا", + "grapheme": "﷼", "template": "1 $", "rtl": true } diff --git a/package.json b/package.json index 30f906d..070f161 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "currency-format", - "version": "1.0.8", + "version": "1.0.9", "description": "JSON with information about currencies: codes (ISO 4217), the names, grapheme (symbols) and formatting.", "author": "Aleksey Pikhtovnikov ", "repository": { From b71b72695ba45eb2f28a66712c0e2a146fcd9f66 Mon Sep 17 00:00:00 2001 From: Vadim Topolsky Date: Tue, 20 Mar 2018 14:17:02 +0500 Subject: [PATCH 2/2] Fixed the MGA currency was named incorrectly and has two fractional places Fixed typo : missing a "A" in the names and adding the symbols of CFA francs (XAF/XOF) - https://en.wikipedia.org/wiki/Central_African_CFA_franc - https://en.wikipedia.org/wiki/West_African_CFA_franc --- CHANGELOG.md | 4 ++++ currency-format.json | 32 ++++++++++++++++++++++++-------- 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3053842..78100e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ - [fix] Updated grapheme for IRR. +- [fix] Updated fraction size and name of MGA. + +- [fix] Updated the CFA francs (XAF/XOF). + ## 1.0.8 - 2017-12-15 - [feature] Add cryptocurrencies ETH, BTC, LTC diff --git a/currency-format.json b/currency-format.json index 32b56ee..c575991 100644 --- a/currency-format.json +++ b/currency-format.json @@ -1108,8 +1108,8 @@ "uniqSymbol": null }, "MGA": { - "name": "Malagasy riary", - "fractionSize": 2, + "name": "Malagasy ariary", + "fractionSize": 0, "symbol": null, "uniqSymbol": null }, @@ -1866,10 +1866,18 @@ "uniqSymbol": null }, "XAF": { - "name": "CF Franc BEAC", + "name": "CFA Franc BEAC", "fractionSize": 0, - "symbol": null, - "uniqSymbol": null + "symbol": { + "grapheme": "F CFA", + "template": "1 $", + "rtl": false + }, + "uniqSymbol": { + "grapheme": "F CFA", + "template": "1 $", + "rtl": false + } }, "XCD": { "name": "East Caribbean Dollar", @@ -1892,10 +1900,18 @@ "uniqSymbol": null }, "XOF": { - "name": "CF Franc BCEAO", + "name": "CFA Franc BCEAO", "fractionSize": 0, - "symbol": null, - "uniqSymbol": null + "symbol": { + "grapheme": "CFA", + "template": "1 $", + "rtl": false + }, + "uniqSymbol": { + "grapheme": "F CFA BCEAO", + "template": "1 $", + "rtl": false + } }, "XPF": { "name": "CFP Franc",