Closed infinitum11 closed 2 years ago
The original mtdowling
implementation was actually incorrect. When both the Day of Week and Day of Month options are supplied, either field of may satisfy the check as an OR check versus an AND check, according to the original C implementation. This was one of the bugs later fixed. So unfortunately there's not a really good way to write such an expression
I would like to get next 5 dates of the "last Friday of the last day of a month". I use following expression: 0 0 L * FRIL
The dragonmantank/cron-expression implementation provides following result:
Which is incorrect. The result contains either "last Friday of a month" or "last day of a month", but not the "last Friday of the last day of a month".
The mtdowling/cron-expression implementation works as expected: