Skip to content

Commit

Permalink
change(data): move HRK (Croatian Kuna) definition
Browse files Browse the repository at this point in the history
On 2023-01-01, Croatia adopted the Euro and the HRK became obsolete.
  • Loading branch information
mroach committed Jan 16, 2023
1 parent de30c06 commit 3206c75
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Update Georgian Lari symbol
- Add Ruby 3.1 and 3.2 to the CI matrix
- Add `Money.from_dollars` alias as a more explicit initializer, it's the same as `Money.from_amount`
- Mark Croatian Kuna (HRK) as obsolete by moving its definition to the backwards compatibility data source

## 6.17.0

Expand Down
16 changes: 16 additions & 0 deletions config/currency_backwards_compatible.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,22 @@
"iso_numeric": "288",
"smallest_denomination": 1
},
"hrk": {
"priority": 100,
"iso_code": "HRK",
"name": "Croatian Kuna",
"symbol": "kn",
"alternate_symbols": [],
"subunit": "Lipa",
"subunit_to_unit": 100,
"symbol_first": false,
"format": "%n %u",
"html_entity": "",
"decimal_mark": ",",
"thousands_separator": ".",
"iso_numeric": "191",
"smallest_denomination": 1
},
"ltl": {
"priority": 100,
"iso_code": "LTL",
Expand Down
16 changes: 0 additions & 16 deletions config/currency_iso.json
Original file line number Diff line number Diff line change
Expand Up @@ -922,22 +922,6 @@
"iso_numeric": "340",
"smallest_denomination": 5
},
"hrk": {
"priority": 100,
"iso_code": "HRK",
"name": "Croatian Kuna",
"symbol": "kn",
"alternate_symbols": [],
"subunit": "Lipa",
"subunit_to_unit": 100,
"symbol_first": false,
"format": "%n %u",
"html_entity": "",
"decimal_mark": ",",
"thousands_separator": ".",
"iso_numeric": "191",
"smallest_denomination": 1
},
"htg": {
"priority": 100,
"iso_code": "HTG",
Expand Down

0 comments on commit 3206c75

Please sign in to comment.