mukeshsoni / country-telephone-data

Data related to a country's telephone dial code and number formatting
41 stars 38 forks source link

The priority of dial code "61" is missing #20

Closed seedlinktech-william closed 3 years ago

seedlinktech-william commented 3 years ago

The iso2 of au, cx, cc has same dial code of 61. Their priority is missing in the big list of code. That cause the allCountryCodes[61] === ["cc"].

BTW, I don't know how we define the priority of same dial code. If it's just by the order of the big list, shall we just change code to using some like push method to add country codes?

seedlinktech-william commented 3 years ago

I found the priority is fixed in this unmerged PR: https://github.com/mukeshsoni/country-telephone-data/pull/10