Skip to content

Parsing of valid phone numbers from the Ivory Coast (+225) does not seem supported #337

@cedric5

Description

@cedric5

Description

Parsing of valid phone numbers from the Ivory Coast (+225) does not seem to be supported.

require 'phonelib'

Phonelib.parse('22545011499').country

=> nil

Phonelib.parse('22545011499').valid?

=> false
require 'phonelib'

Phonelib.parse('+22545011499').country

=> nil

Phonelib.parse('+22545011499').valid?

=> false

Expected Behavior

The methods should correctly identify the country as Ivory coast ("CI") and deem it valid.

Actual Behavior

The methods returns nil and false

Metadata

Metadata

Assignees

No one assigned

    Labels

    missing validation datadata for some prefix/country is missing in the souce

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions