VitorLuizC / brazilian-values

🇧🇷 Funções de formatação, conversão e validação para valores, documentos e outras unidades usadas no Brasil. Como CEP, CNPJ, CPF, BRL (R$), datas, números etc.
MIT License
537 stars 38 forks source link

`isDatePattern` should be removed #3

Closed VitorLuizC closed 5 years ago

VitorLuizC commented 6 years ago

isDatePattern seems useless because I've never had a case to use it and even can't think of one.

It can confuse people instead and should be removed from validators. isDate, which is a real date validator, should be used instead.

VitorLuizC commented 5 years ago

Fixed on https://github.com/VitorLuizC/brazilian-values/commit/f9876cf27d58a145295bfdd0c4ffb6880f2e8245.