You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
I had to add Kosovo and rename "Macedonia (the former Yugoslav Republic of)" to "North Macedonia". I fixed my issue by adding this:
class XXK < IsoCountryCodes::Code
self.numeric = nil
self.name = %q{Kosovo}
self.alpha2 = %q{XK}
self.alpha3 = %q{XXK}
self.iban = 'XK'
self.main_currency = 'EUR'
self.continent = 'EU'
self.calling = '+383'
end
IsoCountryCodes::Code::MKD.module_eval do
self.name = %q{North Macedonia}
end
Because I use the gem for Ruby on Rails I added the code to: config/initializers/adjust_iso_country_codes.rb.
Kosovo appears on the last place. Where can I add .sort_by to resort all the countries?
The text was updated successfully, but these errors were encountered:
I had to add Kosovo and rename "Macedonia (the former Yugoslav Republic of)" to "North Macedonia". I fixed my issue by adding this:
Because I use the gem for Ruby on Rails I added the code to: config/initializers/adjust_iso_country_codes.rb.
Kosovo appears on the last place. Where can I add .sort_by to resort all the countries?
The text was updated successfully, but these errors were encountered: