-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
➕ add missing currencies #61
Conversation
This will resolve these issues: |
The ISO 4217 contains some extra currencies that we could potentially add in the future:
I'm not 100% sure about the usefulness of these, so I'm not adding these in this current PR, but I'm open for opinions / suggestions. |
@@ -18,6 +18,7 @@ module.exports = { | |||
'BMD': '$', | |||
'BND': '$', | |||
'BOB': '$b', | |||
'BOV': 'BOV', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BOLIVIA - Mvdol
@@ -28,10 +29,14 @@ module.exports = { | |||
'BZD': 'BZ$', | |||
'CAD': '$', | |||
'CDF': 'FC', | |||
'CHE': 'CHE', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SWITZERLAND - WIR Euro
'CHF': 'CHF', | ||
'CHW': 'CHW', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SWITZERLAND - WIR Franc
'CHF': 'CHF', | ||
'CHW': 'CHW', | ||
'CLF': 'CLF', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CHILE - Unidad de Fomento
'CLP': '$', | ||
'CNY': '¥', | ||
'COP': '$', | ||
'COU': 'COU', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
COLOMBIA - Unidad de Valor Real
'UZS': 'лв', | ||
'VEF': 'Bs', | ||
'VES': 'Bs.S', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
VENEZUELA - Bolívar Soberano
@@ -169,7 +178,11 @@ module.exports = { | |||
'XCD': '$', | |||
'XOF': 'CFA', | |||
'XPF': '₣', | |||
'XSU': 'Sucre', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SISTEMA UNITARIO DE COMPENSACION REGIONAL DE PAGOS - Sucre
@@ -169,7 +178,11 @@ module.exports = { | |||
'XCD': '$', | |||
'XOF': 'CFA', | |||
'XPF': '₣', | |||
'XSU': 'Sucre', | |||
'XUA': 'XUA', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MEMBER COUNTRIES OF THE AFRICAN DEVELOPMENT BANK GROUP - ADB Unit of Account
'YER': '﷼', | ||
'ZAR': 'R', | ||
'ZWD': 'Z$' | ||
'ZWD': 'Z$', | ||
'ZMW': 'ZK', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ZAMBIA - Zambian Kwacha
'ZWD': 'Z$' | ||
'ZWD': 'Z$', | ||
'ZMW': 'ZK', | ||
'ZWL': '$' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ZIMBABWE - Zimbabwe Dollar
Released in v5.0.0 |
This currency map has not been updated for a while and there were several issues / PRs about missing currencies.
Instead of reviewing and merging them one-by-one, I tried to find an official source of currencies and all the missing ones.
I chose the
ISO 4217
standard about currency codes: https://www.iso.org/iso-4217-currency-codes.htmlHere's their full list in XML format: https://www.currency-iso.org/dam/downloads/lists/list_one.xml
Thank you @davidporos92 for your ideas!
I also checked this site for symbols: https://www.foreignexchangelive.com/currency-codes-symbols/