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

Ghana phone numbers (with fixes, all tests passed) #927

Closed
wants to merge 6 commits into from
Closed

Ghana phone numbers (with fixes, all tests passed) #927

wants to merge 6 commits into from

Conversation

aberba
Copy link
Contributor

@aberba aberba commented Nov 7, 2018

No description provided.

Add tests for Ghana phone codes
Add Ghana phone number validation regex
add Ghana phone code
README.md Outdated
| **isJSON(str)** | check if the string is valid JSON (note: uses JSON.parse). |
| **isJWT(str)** | check if the string is valid JWT token. |
| **isLatLong(str)** | check if the string is a valid latitude-longitude coordinate in the format `lat,long` or `lat, long`. |
| **isLength(str [, options])** | check if the string's length falls in a range.<br/><br/>`options` is an object which defaults to `{min:0, max: undefined}`. Note: this function takes into account surrogate pairs.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you avoid reformatting the entire README? there should only be a one line change, where you introduce the new locale.

@chriso chriso added the 🧹 needs-update For PRs that need to be updated before landing label Nov 7, 2018
@chriso
Copy link
Collaborator

chriso commented Nov 7, 2018

See #928.

@chriso chriso closed this Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧹 needs-update For PRs that need to be updated before landing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants