Closed parasharabh closed 2 years ago
cron expression '0 0 0 ? 1#1 ' translates to 'At 12:00 AM, on the first Monday of the month' using cronstrue library, But correct description for '0 0 0 ? 1#1 ' is 'At 00:00:00am, on the 1st Sunday of the month, every month'
You can check it on 'https://bradymholt.github.io/cron-expression-descriptor/'. It shows correct results.
This one(https://bradymholt.github.io/cRonstrue/.) for cronsTrue shows incorrect results.
I tried by going through the code base and was about to raise a PR. I saw the options of dayOfWeekStartIndexZero. It resolved the issue.
cron expression '0 0 0 ? 1#1 ' translates to 'At 12:00 AM, on the first Monday of the month' using cronstrue library, But correct description for '0 0 0 ? 1#1 ' is 'At 00:00:00am, on the 1st Sunday of the month, every month'
You can check it on 'https://bradymholt.github.io/cron-expression-descriptor/'. It shows correct results.
This one(https://bradymholt.github.io/cRonstrue/.) for cronsTrue shows incorrect results.