dr5hn / countries-states-cities-database

🌍 Discover our global repository of countries, states, and cities! 🏙️ Get comprehensive data in JSON, SQL, PSQL, XML, YAML, and CSV formats. Access ISO2, ISO3 codes, country code, capital, native language, timezones (for countries), and more. #countries #states #cities
https://dr5hn.github.io/countries-states-cities-database/
Open Data Commons Open Database License v1.0
7.22k stars 2.52k forks source link

Croatia currency is wrong #853

Open MKrsic opened 3 hours ago

MKrsic commented 3 hours ago

Currently it is:

    "currency": "HRK",
    "currency_name": "Croatian kuna",
    "currency_symbol": "kn",

And it should be:

    "currency": "EUR",
    "currency_name": "Euro",
    "currency_symbol": "€",
dosubot[bot] commented 3 hours ago

Bok @MKrsic! I'm here to help with any issues or questions you have. Let's tackle this together!

To update Croatia's currency information, you need to modify the relevant data in the countries.json file. Here is the corrected entry for Croatia:

{
    "id": <Croatia's ID>,
    "name": "Croatia",
    "currency": "EUR",
    "currency_name": "Euro",
    "currency_symbol": "€"
}

Make sure to replace <Croatia's ID> with the actual ID used for Croatia in your database.

After making this change, you can update the database by running the appropriate script, such as bin/scripts/add_currency_symbols_to_countries.php or bin/scripts/fill_countries.php, to ensure the changes are reflected in the database [1][2].

To continue talking to Dosu, mention @dosu.