-
Notifications
You must be signed in to change notification settings - Fork 160
Closed
Labels
Description
the explicit addition of the 'UTC' timezone parameter in
cron-parser/src/CronExpressionParser.ts
Line 96 in 839d9e2
| const currentDate = options.currentDate || new CronDate(undefined, 'UTC'); |
changes the behavior compared to the latest 4.x version where DateTime.local() was used instead due to absence of explicit timestamp to the CronDate constructor:
Line 853 in fa94e7f
| options.currentDate = new CronDate(undefined, self._tz); |
This should be mentioned in the breaking changes at least or even better changed back to the previous behavior.