Skip to content

Phone numbers in US format #103

Open

Description

@tjotala

The uinames.com site and extended usage API returns mock phone numbers in the US format (implied country code "+1"). This would be incorrect for any other country. I suggest one of two possible solutions:

  1. Return phone numbers formatted appropriately for each country.
  2. Return phone numbers as separate components (country code, area code, phone number) and leave the formatting to the user.

In either case, names.json would need to be extended to include the country code and plausible area codes for each region.

Activity

  1. srl295 commented on Mar 28, 2018

    @srl295
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions