From 9018c721b00b1ac421ee8674bfabcd697a70c74e Mon Sep 17 00:00:00 2001 From: kotlanj Date: Thu, 6 Nov 2025 15:05:03 +0100 Subject: [PATCH] reverted specific plan date to dynamic --- shifts.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shifts.ps1 b/shifts.ps1 index 9fe02a6..84d2328 100644 --- a/shifts.ps1 +++ b/shifts.ps1 @@ -179,12 +179,12 @@ $allemails = $schedule.PSObject.Properties | ForEach-Object { # --------------------------- | DATE SETTINGS | --------------------------- # ---| Today's date |--- -#$today = (Get-Date).Date +$today = (Get-Date).Date # ---| Specific date |--- -$today = Get-Date -Day 2 -Month 12 -Year 2025 -Hour 9 -Minute 00 -Second 00 -Millisecond 00 +#$today = Get-Date -Day 2 -Month 12 -Year 2025 -Hour 9 -Minute 00 -Second 00 -Millisecond 00 -$daysahead = 30 #How many days ahead to plan +$daysahead = 14 #How many days ahead to plan $timeoff_past_look = -7 #How many days to look into the past for the start of a multi-day time off $ds_replace_daysahead = 14 #How many days ahead do we look for a day-shift replacement