grahamar / cron-parser

Java Parser For Cron Expressions
MIT License
203 stars 60 forks source link

Incorrect description for 0 0 7 ? * 7#1 #62

Open mchyzer opened 4 years ago

mchyzer commented 4 years ago

It prints:

At 7:00 AM, on the first Sunday of the month

Should be:

At 07:00 AM, on the first Saturday of the month

System.out.println(CronExpressionDescriptor.getDescription("0 0 7 ? * 7#1"));

Verify here:

https://www.freeformatter.com/cron-expression-generator-quartz.html

Thanks!