adhocore / gronx

Lightweight, fast and dependency-free Cron expression parser (due checker, next/prev due date finder), task runner, job scheduler and/or daemon for Golang (tested on v1.13+) and standalone usage. If you are bold, use it to replace crontab entirely.
https://github.com/adhocore/gronx
MIT License
422 stars 25 forks source link

fix quarter precision with one month has 31 days #27

Closed icoreman closed 1 year ago

icoreman commented 1 year ago

Issue link: #26 Fix way: reverse loop i.e from last (len-1) segment to first (0) segment in here)

adhocore commented 1 year ago

thank you for PR. for some reason this has caused infinite loop in my local :dizzy: :dizzy_face: and it seems same happen in actions too https://github.com/adhocore/gronx/actions/runs/5035233909

icoreman commented 1 year ago

thank you for PR. for some reason this has caused infinite loop in my local 💫 😵 and it seems same happen in actions too https://github.com/adhocore/gronx/actions/runs/5035233909

I don't think we can fix the last day of qurater issue by the simple change...

adhocore commented 1 year ago

closing as the scope quickly escalates if we attempt to merge this