Skip to content

Commit

Permalink
Add XCG, ZWG. Remove ZWL
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbs committed Jan 19, 2025
1 parent 69cbb50 commit 4599c1c
Show file tree
Hide file tree
Showing 7 changed files with 234 additions and 31 deletions.
166 changes: 165 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,4 +197,168 @@ Data has primarily been sourced from and referenced against
|Yemeni Rial|rial|YER|ر.ي|ر.ي||false|
|Rand|rand|ZAR|R|R||true|
|Zambian Kwacha|kwacha|ZMW|K|K|ZK|true|
|Zimdollar|dollar|ZWL|$|$|ZWL$|true|
|Zimdollar|dollar|ZWL|$|$|ZWL$|true|| title | name | code | symbol | entity | discern | ltr |
|-|-|-|-|-|-|-|
|United Arab Emirates Dirham|dirham|AED|د.إ|د.إ||false|
|Afghan Afghani|afghani|AFN|؋|؋||false|
|Lek|lek|ALL|L|L||true|
|Armenian Dram|dram|AMD|֏|֏||true|
|Netherlands Antillean Guilder|guilder|ANG|ƒ|ƒ||true|
|Angolan Kwanza|kwanza|AOA|Kz|Kz||true|
|Argentine Peso|peso|ARS|$|$||true|
|Australian Dollar|dollar|AUD|$|$|AU$|true|
|Aruban Florin|florin|AWG|ƒ|ƒ|Afl.|true|
|Azerbaijani Manat|manat|AZN||₼||true|
|Bosnia and Herzegovina Convertible Mark|convertible mark|BAM|КМ|КМ||true|
|Barbadian Dollar|dollar|BBD|$|$|Bds$|true|
|Bangladeshi Taka|taka|BDT||৳|Tk.|true|
|Bulgarian Lev|lev|BGN|лв.|лв.||true|
|Bahraini Dinar|dinar|BHD|.د.ب|.د.ب|BD|true|
|Burundian Franc|franc|BIF|FBu|FBu||true|
|Bermudian Dollar|dollar|BMD|$|$|BD$|true|
|Brunei Dollar|dollar|BND|$|$|B$|true|
|Bolivian Boliviano|boliviano|BOB|Bs|Bs|B$|true|
|Mvdol|mvdol|BOV|-|-||true|
|Brazilian Real|real|BRL|R$|R$||true|
|Bahamian Dollar|dollar|BSD|$|$|B$|true|
|Ngultrum|ngultrum|BTN|Nu.|Nu.||true|
|Pula|pula|BWP|P|P||true|
|Belarusian Ruble|ruble|BYN|Br|Br||true|
|Belize Dollar|dollar|BZD|$|$|BZ$|true|
|Canadian Dollar|dollar|CAD|$|$|CA$|true|
|Congolese Franc|franc|CDF|FC|FC|CF|true|
|Swiss Franc|franc|CHF|Fr|Fr|SFr|true|
|Unidad de Fomento|Unidad de Fomento|CLF|UF|UF||true|
|Chilean Peso|peso|CLP|$|$|CLP$|true|
|Yuan Renminbi|yuan|CNY|¥|¥||true|
|Colombian Peso|peso|COP|$|$|COP$|true|
|Costa Rican Colon|colon|CRC||₡||true|
|Peso Convertible|peso|CUC|$|$|CUC$|true|
|Cuban Peso|peso|CUP|$|$|$MN|true|
|Cabo Verde Escudo|escudo|CVE|Esc|Esc||true|
|Czech Koruna|koruna|CZK||Kč||true|
|Djibouti Franc|franc|DJF|Fdj|Fdj||true|
|Danish Krone|krone|DKK|kr|kr|DKK|true|
|Dominican Peso|peso|DOP|$|$|RD$|true|
|Algerian Dinar|dinar|DZD|دج|دج|DA|false|
|Egyptian Pound|pound|EGP|£|£|£E|true|
|Ethiopian Birr|birr|ETB|ብር|ብር|Br|true|
|Nakfa|nakfa|ERN|Nkf|Nkf||true|
|Euro|euro|EUR||€||true|
|Fiji Dollar|dollar|FJD|$|$|FJ$|true|
|Falkland Islands Pound|pound|FKP|£|£|FK£|true|
|Pound sterling|pound|GBP|£|£||true|
|Lari|lari|GEL||₾||true|
|Ghana Cedi|cedi|GHS||₵|GH¢|true|
|Gibraltar Pound|pound|GIP|£|£||true|
|Dalasi|dalasi|GMD|D|D||true|
|Guinean Franc|franc|GNF|FG|FG|GFr|true|
|Quetzal|quetzal|GTQ|Q|Q||true|
|Guyana Dollar|dollar|GYD|$|$|GY$|true|
|Hong Kong Dollar|dollar|HKD|$|$|HK$|true|
|Lempira|lempira|HNL|L|L||true|
|Gourde|gourde|HTG|G|G||true|
|Forint|forint|HUF|Ft|Ft||true|
|Rupiah|rupiah|IDR|Rp|Rp||true|
|New Israeli Sheqel|sheqel|ILS||₪|NIS|true|
|Indian Rupee|rupee|INR||₹||true|
|Iraqi Dinar|dinar|IQD|د.ع|د.ع||false|
|Iranian Rial|rial|IRR||﷼||false|
|Iceland Krona|krona|ISK|kr|kr|ISK|false|
|Jersey Pound|pound|JEP|£|£|JEP|true|
|Jamaican Dollar|dollar|JMD|$|$|J$|true|
|Jordanian Dinar|dinar|JOD|د.أ|د.أ||false|
|Yen|yen|JPY|¥|¥|JP¥|true|
|Kenyan Shilling|shilling|KES|KSh|KSh||true|
|Som|som|KGS|сом|сом||true|
|Riel|riel|KHR||៛||true|
|Comorian Franc|franc|KMF|CF|CF||true|
|North Korean Won|won|KPW||₩||true|
|Won|won|KRW||₩||true|
|Kuwaiti Dinar|dinar|KWD|د.ك|د.ك||false|
|Cayman Islands Dollar|dollar|KYD|$|$|CI$|true|
|Tenge|tenge|KZT||₸||true|
|Lao Kip|kip|LAK||₭|₭N|true|
|Lebanese Pound|pound|LBP|ل.ل.|ل.ل.|LL|false|
|Sri Lanka Rupee|rupee|LKR||₨|LKR|true|
|Liberian Dollar|dollar|LRD|$|$|L$|true|
|Loti|loti|LSL|L|L||true|
|Libyan Dinar|dinar|LYD||.د|LD|false|
|Moroccan Dirham|dirham|MAD|د.م.|د.م.|DH|false|
|Moldovan Leu|leu|MDL|L|L||true|
|Malagasy Ariary|ariary|MGA|Ar|Ar||true|
|Denar|denar|MKD|ден|ден||true|
|Kyat|kyat|MMK|K|K||true|
|Tugrik|tugrik|MNT||₮||true|
|Pataca|pataca|MOP|MOP$|MOP$||true|
|Ouguiya|ouguiya|MRU|UM|UM||true|
|Mauritius Rupee|rupee|MUR||₨||true|
|Rufiyaa|rufiyaa|MVR|Rf.|Rf.|MRf|true|
|Malawi Kwacha|kwacha|MWK|K|K||true|
|Mexican Peso|peso|MXN|$|$|MX$|true|
|Mexican Unidad de Inversion (UDI)|udi|MXV|-|-||true|
|Malaysian Ringgit|ringgit|MYR|RM|RM||true|
|Mozambique Metical|metical|MZN|MT|MT|MTn|true|
|Namibia Dollar|dollar|NAD|$|$|N$|true|
|Naira|naira|NGN||₦||true|
|Cordoba Oro|cordoba|NIO|C$|C$||true|
|Norwegian Krone|krone|NOK|kr|kr||true|
|Nepalese Rupee|rupee|NPR|रु|रु||true|
|New Zealand Dollar|dollar|NZD|$|$|NZ$|true|
|Rial Omani|rial|OMR|ر.ع.|ر.ع.|R.O.|false|
|Balboa|balboa|PAB|B/.|B/.||true|
|Sol|sol|PEN|S/|S/||true|
|Kina|kina|PKG|K|K||true|
|Philippine Peso|peso|PHP||₱||true|
|Pakistan Rupee|rupee|PKR||₨||true|
|Zloty|zloty|PLN||zł||true|
|Guarani|guarani|PYG||₲||true|
|Qatari Rial|riyal|QAR|ر.ق|ر.ق
|QR|false|
|Romanian Leu|leu|RON|L|L||false|
|Serbian Dinar|dinar|RSD|дин|дин||true|
|Russian Ruble|ruble|RUB||₽||true|
|Rwanda Franc|franc|RWF|FRw|FRw|R₣|true|
|Saudi Riyal|riyal|SAR|ر.س|ر.س
|SAR|false|
|Solomon Islands Dollar|dollar|SBD|$|$|SI$|true|
|Seychelles Rupee|rupee|SCR||₨|SRe|true|
|Sudanese Pound|pound|SDG|£|£|£SD|true|
|Swedish Krona|krona|SEK|kr|kr||true|
|Singapore Dollar|dollar|SGD|$|$|S$|true|
|Saint Helena Pound|pound|SHP|£|£||true|
|Leone|leone|SLE|Le|Le||true|
|Leone|leone|SLL|Le|Le||true|
|Somali Shilling|shilling|SOS|Sh.So.|Sh.So.||true|
|Surinam Dollar|dollar|SRD|$|$|Sr$|true|
|Dobra|dobra|STN|Db|Db||true|
|South Sudanese Pound|pound|SSP|£|£|SS£|true|
|Syrian Pound|pound|SYP|£|£|£S|true|
|Lilangeni|lilangeni|SZL|L|L||true|
|Baht|baht|THB|฿|฿||true|
|Somoni|somoni|TJS|SM|SM||true|
|Turkmenistan New Manat|manat|TMT|m|m||true|
|Tunisian Dinar|dinar|TND|د.ت|د.ت|DT|false|
|Pa’anga|pa’anga|TOP|T$|T$|PT|true|
|Turkish Lira|lira|TRY||₺||false|
|Trinidad and Tobago Dollar|dollar|TTD|$|$|TT$|true|
|New Taiwan Dollar|dollar|TWD|$|$|NT$|true|
|Tanzanian Shilling|shiling|TZS|TSh|TSh||true|
|Hryvnia|hryvnia|UAH||₴|грн|true|
|Uganda Shilling|shilling|UGX|USh|USh||true|
|United States Dollar|dollar|USD|$|$||true|
|Peso Uruguayo|peso|UYU|$|$|$U|true|
|Uzbekistan Sum|sum|UZS|сум|сум||true|
|Bolívar Soberano|bolívar|VED|Bs.|Bs.||true|
|Bolívar Soberano|bolívar|VES|Bs.S|Bs.S||true|
|Dong|dong|VND||₫||true|
|Vatu|vatu|VUV|VT|VT||true|
|Tala|tala|WST|$|$|WS$|true|
|CFA Franc BEAC|franc|XAF|FCFA|FCFA||true|
|East Caribbean Dollar|dollar|XCD|$|$|EC$|true|
|Caribbean guilder|guilder|XCG|Cg|Cg||true|
|SDR (Special Drawing Right)|SDR|XDR|SDR|SDR||true|
|CFA Franc BCEAO|franc|XOF|CFA|CFA||true|
|CFP Franc|franc|XPF||₣||true|
|Yemeni Rial|rial|YER|ر.ي|ر.ي||false|
|Rand|rand|ZAR|R|R||true|
|Zambian Kwacha|kwacha|ZMW|K|K|ZK|true|
|Zimbabwe Gold|zig|ZWG|ZiG|ZiG||true|
24 changes: 17 additions & 7 deletions data/currencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1395,6 +1395,15 @@ currency:
discern: EC$
ltr: true

XCG:
title: Caribbean guilder
name: guilder
code: XCG
symbol: Cg
entity: 'Cg'
discern: ~
ltr: true

XDR:
title: SDR (Special Drawing Right)
name: SDR
Expand Down Expand Up @@ -1449,11 +1458,12 @@ currency:
discern: ZK
ltr: true

ZWL:
title: Zimdollar
name: dollar
code: ZWL
symbol: $
entity: '$'
discern: ZWL$
ZWG:
title: Zimbabwe Gold
name: zig
code: ZWG
symbol: ZiG
entity: 'ZiG'
discern: ~
ltr: true

3 changes: 2 additions & 1 deletion dist/currencies.csv
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,11 @@ Vatu,vatu,VUV,VT,VT,,1
Tala,tala,WST,$,$,WS$,1
CFA Franc BEAC,franc,XAF,FCFA,FCFA,,1
East Caribbean Dollar,dollar,XCD,$,$,EC$,1
Caribbean guilder,guilder,XCG,Cg,Cg,,1
SDR (Special Drawing Right),SDR,XDR,SDR,SDR,,1
CFA Franc BCEAO,franc,XOF,CFA,CFA,,1
CFP Franc,franc,XPF,₣,₣,,1
Yemeni Rial,rial,YER,ر.ي,ر.ي,,
Rand,rand,ZAR,R,R,,1
Zambian Kwacha,kwacha,ZMW,K,K,ZK,1
Zimdollar,dollar,ZWL,$,$,ZWL$,1
Zimbabwe Gold,zig,ZWG,ZiG,ZiG,,1
23 changes: 16 additions & 7 deletions dist/currencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -1394,6 +1394,15 @@
"discern": "EC$",
"ltr": true
},
"XCG": {
"title": "Caribbean guilder",
"name": "guilder",
"code": "XCG",
"symbol": "Cg",
"entity": "Cg",
"discern": null,
"ltr": true
},
"XDR": {
"title": "SDR (Special Drawing Right)",
"name": "SDR",
Expand Down Expand Up @@ -1448,13 +1457,13 @@
"discern": "ZK",
"ltr": true
},
"ZWL": {
"title": "Zimdollar",
"name": "dollar",
"code": "ZWL",
"symbol": "$",
"entity": "$",
"discern": "ZWL$",
"ZWG": {
"title": "Zimbabwe Gold",
"name": "zig",
"code": "ZWG",
"symbol": "ZiG",
"entity": "ZiG",
"discern": null,
"ltr": true
}
}
3 changes: 2 additions & 1 deletion dist/currencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,12 @@
|Tala|tala|WST|$|$|WS$|true|
|CFA Franc BEAC|franc|XAF|FCFA|FCFA||true|
|East Caribbean Dollar|dollar|XCD|$|$|EC$|true|
|Caribbean guilder|guilder|XCG|Cg|Cg||true|
|SDR (Special Drawing Right)|SDR|XDR|SDR|SDR||true|
|CFA Franc BCEAO|franc|XOF|CFA|CFA||true|
|CFP Franc|franc|XPF||₣||true|
|Yemeni Rial|rial|YER|ر.ي|ر.ي||false|
|Rand|rand|ZAR|R|R||true|
|Zambian Kwacha|kwacha|ZMW|K|K|ZK|true|
|Zimdollar|dollar|ZWL|$|$|ZWL$|true|
|Zimbabwe Gold|zig|ZWG|ZiG|ZiG||true|

23 changes: 16 additions & 7 deletions dist/currencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -1394,6 +1394,15 @@
'discern' => 'EC$',
'ltr' => 'true',
],
'XCG' => [
'title' => 'Caribbean guilder',
'name' => 'guilder',
'code' => 'XCG',
'symbol' => 'Cg',
'entity' => 'Cg',
'discern' => '',
'ltr' => 'true',
],
'XDR' => [
'title' => 'SDR (Special Drawing Right)',
'name' => 'SDR',
Expand Down Expand Up @@ -1448,13 +1457,13 @@
'discern' => 'ZK',
'ltr' => 'true',
],
'ZWL' => [
'title' => 'Zimdollar',
'name' => 'dollar',
'code' => 'ZWL',
'symbol' => '$',
'entity' => '$',
'discern' => 'ZWL$',
'ZWG' => [
'title' => 'Zimbabwe Gold',
'name' => 'zig',
'code' => 'ZWG',
'symbol' => 'ZiG',
'entity' => 'ZiG',
'discern' => '',
'ltr' => 'true',
],
];
23 changes: 16 additions & 7 deletions dist/currencies.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1395,6 +1395,15 @@
<discern>EC$</discern>
<ltr>true</ltr>
</currency>
<currency code="XCG">
<title>Caribbean guilder</title>
<name>guilder</name>
<code>XCG</code>
<symbol>Cg</symbol>
<entity>&amp;#x43;&amp;#x67;</entity>
<discern />
<ltr>true</ltr>
</currency>
<currency code="XDR">
<title>SDR (Special Drawing Right)</title>
<name>SDR</name>
Expand Down Expand Up @@ -1449,13 +1458,13 @@
<discern>ZK</discern>
<ltr>true</ltr>
</currency>
<currency code="ZWL">
<title>Zimdollar</title>
<name>dollar</name>
<code>ZWL</code>
<symbol>$</symbol>
<entity>&amp;#x24;</entity>
<discern>ZWL$</discern>
<currency code="ZWG">
<title>Zimbabwe Gold</title>
<name>zig</name>
<code>ZWG</code>
<symbol>ZiG</symbol>
<entity>&amp;#x5A;&amp;#x69;&amp;#x47;</entity>
<discern />
<ltr>true</ltr>
</currency>
</currencies>

0 comments on commit 4599c1c

Please sign in to comment.