kiorky / croniter

MIT License
382 stars 37 forks source link

fix #68: Avoid over-optimization #69

Closed Cherie0125 closed 4 months ago

Cherie0125 commented 5 months ago

When both day and week are set in a cron expression, the day and week are in an OR relationship. Avoid optimizing * * 5 3 1-7 into * * 5 3 *, resulting in missing week information. Also avoid optimizing * * 1-31 3 5 into * * * 3 5, resulting in missing daily information.

Cherie0125 commented 5 months ago

@kiorky Please review and fix it as soon as possible

kiorky commented 4 months ago

Thx for the contribution and your patience !

kiorky commented 4 months ago

released: https://pypi.org/project/croniter/2.0.5/