Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unintentional UK mode #47
In adding the Åland Islands to Finland, I discovered a bug: any use of Number::Phone or of a stub country based on Number::Phone::StubCountry sets UK mode for Number::Phone::Country (and calling phone2country on a code which has multiple resolutions will cause stub country modules to be loaded).
The first commit is a failing test; the second is a fix.
The Åland Islands - AX - will be coming in a second data update patch at some stage.
(Test 41 is failing for me on master and after this patch, on subtests 97 and 117. I haven't investigated.)