diff options
| author | historia <gravel.justness270@slmail.me> | 2024-07-26 06:36:26 -0400 |
|---|---|---|
| committer | historia <gravel.justness270@slmail.me> | 2024-07-26 06:36:26 -0400 |
| commit | f6efe2d52423a33cd9d7d5c64c26d40a4a7a2416 (patch) | |
| tree | 9e06ed17d6d78c381726398dde390b8ca15ee40f | |
| parent | 9bd6dca0542eb5694aff5d5455a6c819c20bf493 (diff) | |
| download | soon-f6efe2d52423a33cd9d7d5c64c26d40a4a7a2416.tar.gz | |
Readme cleanup
| -rw-r--r-- | README.md | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -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. |
