alpha testing complete #1

Merged
kelly merged 12 commits from alpha-testing into main 2026-05-11 17:17:05 -05:00
Showing only changes of commit 5216703423 - Show all commits
+4 -4
View File
@@ -83,10 +83,10 @@ foreach($chore in $chores)
if ($overdueTasks.Count -ne 0) if ($overdueTasks.Count -ne 0)
{ {
Write-Host "Sending a notification for $($overdueTasks.Count) overdue tasks" Write-Host "Sending a notification for $($overdueTasks.Count) overdue tasks"
$content = "The following tasks are overdue!\n" $content = "The following tasks are overdue!/n"
foreach($overdueTask in $overdueTasks) foreach($overdueTask in $overdueTasks)
{ {
$content += "$($overdueTask.Name) was due $($overdueTask.nextDueDate)\n" $content += "$($overdueTask.Name) was due $(Get-Date $overdueTask.nextDueDate -Format "MM/dd/yyyy HH:mm")/n"
} }
Send-Notification -title "OVERDUE TASKS" -content $content Send-Notification -title "OVERDUE TASKS" -content $content
} }
@@ -94,10 +94,10 @@ if ($overdueTasks.Count -ne 0)
if ($todaysTasks.Count -ne 0) if ($todaysTasks.Count -ne 0)
{ {
Write-Host "Sending a notification for $($todaysTasks.Count) tasks due today" Write-Host "Sending a notification for $($todaysTasks.Count) tasks due today"
$content = "The following tasks are due today!\n" $content = "The following tasks are due today!/n"
foreach($task in $todaysTasks) foreach($task in $todaysTasks)
{ {
$content += "$($task.Name) is due $($task.nextDueDate)\n" $content += "$($task.Name) is due $(Get-Date $task.nextDueDate -Format "MM/dd/yyyy HH:mm")/n"
} }
Send-Notification -title "TODAY'S TASKS" -content $content Send-Notification -title "TODAY'S TASKS" -content $content
} }