go-playground / validator

:100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
MIT License
16.98k stars 1.33k forks source link

Cron validator is not correct #1259

Closed HoangViet144 closed 1 week ago

HoangViet144 commented 7 months ago

Package version eg. v9, v10:

v10.14.0

Issue, Question or Enhancement:

Cron validator seems not correct. It throws error on input "0 /1 " or "0 /2 "

yazver commented 3 weeks ago

0 0 */2 * * don't work too.