From 613da6f0b0a2a31e6a8bcec183ec18c95b250c45 Mon Sep 17 00:00:00 2001 From: Tobias Zwick Date: Wed, 10 Jan 2024 01:17:37 +0100 Subject: [PATCH 1/2] document extension to the spec --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8e287ee..e8ef9d9 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ Deviations from the grammar as of [this version of the opening hours specificati * leading 0s in times optional * unicode EN DASH (U+2013) EM DASH (U+2014) characters are allowed for hyphen * various unicode whitespace characters are ignored + * dates referring to specific weekdays are allowed (e.g. `Apr Fr[1,-1]` - first and last friday in April) + * date ranges referring each to a specific weekday are allowed (e.g. `Apr Fr[-1] - Jun Fr[1]` - last Friday in April to first Friday in June) In strict mode time ranges that have a nummerically earlier ending time than start and do not use the _extended time_ format will cause a parse exception to be thrown, this From dd59a4acfe320b7383b56ba71f2673b510e22244 Mon Sep 17 00:00:00 2001 From: Tobias Zwick Date: Wed, 10 Jan 2024 12:53:48 +0100 Subject: [PATCH 2/2] correct incorrect claim --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index e8ef9d9..443fcc1 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,6 @@ Deviations from the grammar as of [this version of the opening hours specificati * leading 0s in times optional * unicode EN DASH (U+2013) EM DASH (U+2014) characters are allowed for hyphen * various unicode whitespace characters are ignored - * dates referring to specific weekdays are allowed (e.g. `Apr Fr[1,-1]` - first and last friday in April) * date ranges referring each to a specific weekday are allowed (e.g. `Apr Fr[-1] - Jun Fr[1]` - last Friday in April to first Friday in June) In strict mode time ranges that have a nummerically earlier ending time than start and