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 committed Dec 29, 2024
1 parent 9e480e1 commit 8401517
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 8401517

Please sign in to comment.