aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/README.md b/README.md
index db7ffb6..3172ebf 100644
--- a/README.md
+++ b/README.md
@@ -61,13 +61,14 @@ Any line starting with a `-` or `+` is attached to the nearest above event. This
- Dr. Elias Berkins, +1 (555)-123-1234
```
-## Date Groups (`()`)
+## Date Groups
You can put a day, month, and optionally year in parentheses to treat it as a single date. This lets you use the date for ranges and with the `!` operator like you'd expect.
```
Sun !(Dec 25), Every Sunday except Dec 25. The ! does NOT expand to !Dec !25.
-(June 25 2025)-(Sep 1 2025), Summer Vacation
+(June 25 2025)-(Sep 1 2025), Summer vacation
+(Jun 25)-(Sep 1) 2025, Alternative summer vacation
```
## Ranges (`-`)
@@ -96,16 +97,16 @@ AND is *implied* by whitespace between conditions
```
1 | 15, Every 1st OR 15th
-Fri !13, Every Friday, NOT the 13th
-Sun !(Dec 25), Every Sunday, NOT December 25
+Fri !13, Every Friday AND NOT the 13th
+Sun !(Dec 25), Every Sunday AND NOT December 25
2025 Aug 14, 2025 AND August AND the 14th
1 2, Every 1st AND 2nd (never)
```
## First/last week(s) of Month (`W`, `L`)
-[N]W is the Nth set of 7 days of a month
-[N]L is the Nth-from-last set of 7 days of a month
+*x*W is the *xth* set of 7 days of a month
+*x*L is the *xth*-from-last set of 7 days of a month
This is mostly useful for certain Holidays.
@@ -129,7 +130,7 @@ Fri 05:00-06:00, Breakfast
Fri 12pm-1pm, Lunch
```
-## Modified Julian Date (`J%n+y`)
+## Modified Julian Date (`J%x+y`)
Then supports using a Modified Julian Date as `J`. `J` is the number of days since midnight November 17, 1858. This can be used along with the modulo operator `%` to create complex recurring events.