alexrabarts / iso_country_codes

A Ruby library that provides ISO 3166-1 country codes/names and ISO 4217 currencies
http://github.com/alexrabarts/iso-country-codes
163 stars 62 forks source link

The international calling code for Peurto Rico is +1. 787 is area code #56

Open vipulnsward opened 4 years ago

vipulnsward commented 4 years ago

See https://en.wikipedia.org/wiki/Puerto_Rico for more information. I couldn't find what the source of this information was. https://www.iso.org/obp/ui/#iso:code:3166:PR is what's listed on ISO info which does not contain this.

787 and 939 are are codes: https://en.wikipedia.org/wiki/Telephone_numbers_in_Puerto_Rico

This was breaking for our use case where we tried to derive country code and then pull that for validation using https://github.com/floere/phony