From 0c600befaf7b0be059f5b6de3c97674c81a15b6c Mon Sep 17 00:00:00 2001 From: merencia Date: Tue, 23 Jun 2026 09:49:15 -0300 Subject: [PATCH] feat: accept every/the prefixes on ordinal weekdays "every last monday of the month" and "the last monday of the month" previously threw, because parseEvery and the the-clause only handled the bare ordinal form. Both now delegate to the ordinal-weekday handler and produce the same 1L / 1#1 / L. "every second" stays the unit: the ordinal path requires a following weekday. --- README.md | 2 +- src/to-cron.ts | 11 ++++++++++- test/golden.test.ts | 7 +++++++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6faa514..ad86ed3 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ every [at