@cloudtower/eagle 0.27.64 → 0.27.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -385,8 +385,8 @@ class CronTime {
385
385
  Cron String: ${this} - UTC offset: ${date} - current Date: ${dayjs().toString()}`
386
386
  );
387
387
  }
388
- if (!(date.month() - 1 in this.unitMap.month) && Object.keys(this.unitMap.month).length !== 12) {
389
- date = date.add(1, "month").day(1).hour(0).minute(0).second(0);
388
+ if (!(date.month() in this.unitMap.month) && Object.keys(this.unitMap.month).length !== 12) {
389
+ date = date.add(1, "month").date(1).hour(0).minute(0).second(0);
390
390
  continue;
391
391
  }
392
392
  if (!(date.date() in this.unitMap.dayOfMonth) && Object.keys(this.unitMap.dayOfMonth).length !== 31 && !(date.day() in this.unitMap.dayOfWeek && Object.keys(this.unitMap.dayOfWeek).length !== 7)) {