Skip to content

Commit

Permalink
fix: fix infinite loop on expressions resolving only inside a DST for…
Browse files Browse the repository at this point in the history
…ward jump
  • Loading branch information
sheerlox authored and intcreator committed Dec 30, 2024
1 parent f3042d0 commit 54f94d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/time.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ export class CronTime {
const beforeJumpingPoint = afterJumpingPoint.minus({ second: 1 });

if (
date.month + 1 in this.month &&
date.month in this.month &&
date.day in this.dayOfMonth &&
this._getWeekDay(date) in this.dayOfWeek
) {
Expand Down

0 comments on commit 54f94d9

Please sign in to comment.