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

📞 Phone number can now be generated for South Africa #383

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

Conversation

SeWaS
Copy link

@SeWaS SeWaS commented Sep 12, 2018

Hi all,

I discovered a little bug in the code. It was already possible to generate random phone numbers for South Africa ({ country: 'za' }) but only with { formatted: false }. Otherwise the function just returned true. Here is my proposal to fix it 😉.

Additionally I wrote some tests for it and mentioned the { country: 'za' } option in the documentation 👍

It's a great lib. Really! Thanks for sharing this with us!!!

Greetings,
Sewas

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