Skip to content
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

Support sub-region mapping to avoid crashes for non standard ISO country codes #45

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nerder
Copy link

@nerder nerder commented Nov 8, 2024

As in title this will prevent the library to crash when encounter a country code which is not present in the list of codes

fixes #46

@nerder nerder force-pushed the fix/mapSubRegionsToCountryCode branch from 7efc199 to 708a69a Compare November 8, 2024 13:36
@nerder
Copy link
Author

nerder commented Nov 8, 2024

FYI @miguelpruivo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setting region to Canary Island will make detailsFromLocale crash
1 participant