From 6b240bfbee7fafeba1cf1baf37916c82b074b0c1 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Sat, 17 Oct 2020 16:11:27 +0100 Subject: [PATCH] REMIND: Fix bank holidays around Christmas This involved using $Tw instead of $Uw. I am still not entirely sure what the difference is except $Tw works. Suggested here: https://www.reddit.com/r/commandline/comments/j94qx4/help_using_remind_satisfy_option/g8hqz6g/?utm_source=reddit&utm_medium=web2x&context=3 --- remind/.local/share/remind/uk-hollidays.rem | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/remind/.local/share/remind/uk-hollidays.rem b/remind/.local/share/remind/uk-hollidays.rem index 4940e6b0..7df0620a 100644 --- a/remind/.local/share/remind/uk-hollidays.rem +++ b/remind/.local/share/remind/uk-hollidays.rem @@ -47,13 +47,13 @@ REM 25 Dec MSG Christmas Day REM 26 Dec MSG Boxing Day # If Christmas day is on a Saturday, the following Monday and Tuesday will be # substitute bank holidays for Christmas and boxing day -REM 27 Dec SATISFY [$Uw == 1] MSG Christmas Day (substitute bank holiday) -REM 28 Dec SATISFY [$Uw == 2] MSG Boxing Day (substitute bank holiday) +REM 27 Dec SATISFY [$Tw == 1] MSG Christmas Day (substitute bank holiday) +REM 28 Dec SATISFY [$Tw == 2] MSG Boxing Day (substitute bank holiday) # If boxing day is a Saturday, the following Monday will be a bank holiday -REM 28 Dec SATISFY [$Uw == 1] MSG Boxing Day (substitute bank holiday) +REM 28 Dec SATISFY [$Tw == 1] MSG Boxing Day (substitute bank holiday) # Need to look into what happens if Christmas falls on a Sunday. # I expect Mon and Tues are both bank holidays -REM 27 Dec SATISFY [$Uw == 2 ] MSG Christmas Day (substitute bank holiday) +REM 27 Dec SATISFY [$Tw == 2 ] MSG Christmas Day (substitute bank holiday) ####################