Skip to content

feat: add Haiti (ht-HT) support to isIdentityCard #2656

@Sagar141005

Description

@Sagar141005

While adding mobile phone validation for Haiti (ht-HT) in isMobilePhone,
I noticed that the locale is not supported in isIdentityCard.

Because isIdentityCard throws an error for unknown locales, tests fail with:
Invalid locale 'ht-HT'.

This suggests Haiti is missing from the identity card locale registry,
not just from mobile phone validation.

Opening this issue to confirm whether Haiti identity card support is desired
and to get guidance on the expected format before implementing it.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions