Skip to content

Possible error found in the documentation => #format #74

Description

@onebree

https://github.com/carr/phone#formatting

Could someone explain how the US formatted number is so different than the other examples? Is this an error in the documentation? If so, what would the US formatted number be?

pn = Phoner::Phone.parse('+385915125486')
pn.format(:europe) # => "+385 (0) 91 512 5486"
pn.format(:us) # => "(234) 123-4567"
pn.format(:default_with_extension) # => "+3851234567x143"

Activity

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