reverted specific plan date to dynamic

This commit is contained in:
2025-11-06 15:05:03 +01:00
parent e533b6929e
commit 9018c721b0

View File

@@ -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