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

comply with libphonenumber's mainCountryForCode attribute when formatting numbers #75

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

@fpbouchard
Copy link
Contributor Author

@cedvdb let me know what you think

@cedvdb
Copy link
Owner

cedvdb commented Sep 19, 2024

great !

@@ -35,6 +35,12 @@ void main() {
}
});

test('should get formats metadata for iso code going through references',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a more high level test in phone_number_test for the expected format behavior, for example for a canadian phone number ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutely! Incoming.

@cedvdb
Copy link
Owner

cedvdb commented Sep 24, 2024

Sorry for the delay, I added a small comment.

@cedvdb cedvdb merged commit 5074801 into cedvdb:main Sep 27, 2024
1 check passed
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.

Phone number formatting does not comply with libphonenumber specification
2 participants