nestjs/schedule

node-cron is now UNIX standard-aligned

MayasHaddad opened this issue · 1 comments

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

CronExpression.EVERY_YEAR causes Error: Field value (0) is out of range originating from node_modules/cron/dist/time.js:420:27

Minimum reproduction code

https://github.com/MayasHaddad/nestjs-every-year

Steps to reproduce

No response

Expected behavior

CronExpression.EVERY_YEAR doesn't cause any runtime exception

Package version

4.0.2

NestJS version

No response

Node.js version

v20.12.2

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

Latest node-cron major release

it looks like we already have a PR to fix this issue