-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hey.
I think I found a bug with the Mexico ID Validator.
According to the wikipedia article, the penultimate digit of a Mexico ID should be:
One character ranging from 0-9 for people born before 2000 or from A-Z for people born since 2000; this is generated by the National Population Registry to prevent identical entries.
However, one of the unit tests in the project considers the ID AAIT101109MHGNMN01 as valid:
If we look into the date of birth, it should be 2010-11-09 (14 year old) and not 1910-11-09 (114 year old) right? As such, the penultimate digit should be a letter, not a number, making this id invalid.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
