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

Take updates for new US area codes and i18n number format changes #127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dbhoot
Copy link

@dbhoot dbhoot commented Aug 28, 2024

Previously,

The library did not recognize / support many new numbers. For example, the new 945 area code in the dallas area.

https://ftp.puc.texas.gov/public/puct-info/agency/resources/pubs/news/2021/PUCTX-MR-PR-TEL-945-Begins-FIN.pdf

Now

It does.

I just ran an update to pull the latest from google libphone number. Some tests failed but I double checked the values and the lib is returning the correct values, so I updated the tests.

Also adds go mod

I'm sure this will fix many open issues.

Notes

I reimplemented the isLeadingZeroPossible function.

The metadata value that it was relying on was removed from the protocol buffer.

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.

1 participant