@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.
@@ -392,8 +392,8 @@ class CronTime {
392
392
  Cron String: ${this} - UTC offset: ${date} - current Date: ${dayjs__default.default().toString()}`
393
393
  );
394
394
  }
395
- if (!(date.month() - 1 in this.unitMap.month) && Object.keys(this.unitMap.month).length !== 12) {
396
- date = date.add(1, "month").day(1).hour(0).minute(0).second(0);
395
+ if (!(date.month() in this.unitMap.month) && Object.keys(this.unitMap.month).length !== 12) {
396
+ date = date.add(1, "month").date(1).hour(0).minute(0).second(0);
397
397
  continue;
398
398
  }
399
399
  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)) {