Skip to content

Should "-" be removed? #14

@luixal

Description

@luixal

Hi,

It's great to have this package so I can get rid of some "not as handy" gists.

One thing is, I've always stored DNIs witouth the "-" char between the number and the letter. This is: 12345678Z instead of 12345678-Z.

I don't know for sure which the official format so I made some research and found these:

in both cases, it doesn't include the "-" char in the format (in other cases they show a DNI containing the "-" as invalid) so... I'm thinking the valid format shouldn't include it.

¿Could the "-" be optional in this lib?

Thanks!

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