validator icon indicating copy to clipboard operation
validator copied to clipboard

fix: cron validation support for star step value

Open cgetzen opened this issue 1 year ago • 2 comments

Fixes Or Enhances

Resolves https://github.com/go-playground/validator/issues/1259

Make sure that you've checked the boxes below before you submit PR:

  • [x] Tests exist or have been written that cover this particular change.

@go-playground/validator-maintainers

cgetzen avatar Aug 08 '24 16:08 cgetzen

Coverage Status

coverage: 74.291%. remained the same when pulling 046c53ac3512e4ebfd5688c22a05f6135a7d5a5e on cgetzen-forks:cg/cron-validation-star-step-value into a947377040f8ebaee09f20d09a745ec369396793 on go-playground:master.

coveralls avatar Aug 08 '24 16:08 coveralls

Not related to your changes, but is format like 9-59/7 correctly supported?

ccoVeille avatar Aug 08 '24 16:08 ccoVeille

It's actual!

yazver avatar Nov 03 '24 04:11 yazver

Glad to see this PR - I've been unable to use a quarterly cron job "0 0 1 */3 *" - which this PR would fix.

geoff-rmtech avatar Nov 14 '24 09:11 geoff-rmtech