reugn / go-quartz

Minimalist and zero-dependency scheduling library for Go
https://pkg.go.dev/github.com/reugn/go-quartz/quartz
MIT License
1.79k stars 84 forks source link

Should non-essential spaces in the cron expression allowed? #110

Closed joint-song closed 8 months ago

joint-song commented 8 months ago

Spaces in the head/tail/middle of cron expression like 0 5 0 1 1/1 ? or 0 5 0 1 1/1 ? will cause parsing error. Java quartz would ignore these spaces.

reugn commented 8 months ago

Thanks, @joint-song. The fix will be available in the next release.