reugn / go-quartz

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

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

Closed joint-song closed 9 months ago

joint-song commented 9 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 9 months ago

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