From d0ac1d8e4c7ac875279d4f6180196526ac487fb6 Mon Sep 17 00:00:00 2001 From: Kelly Thomas Reardon Date: Sun, 31 May 2026 20:06:54 -0500 Subject: [PATCH] timezone bugs, changed webhook listener to use + since posh doesn't allow 0.0.0.0 --- Start-DoneTickConsumer.ps1 | 2 +- Start-DoneTickNotifier.ps1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Start-DoneTickConsumer.ps1 b/Start-DoneTickConsumer.ps1 index d9e8f45..49f5338 100644 --- a/Start-DoneTickConsumer.ps1 +++ b/Start-DoneTickConsumer.ps1 @@ -1,4 +1,4 @@ -[string] $ListenUrl = "http://0.0.0.0:8080/" +[string] $ListenUrl = "http://+:8080/" function Write-JsonResponse { diff --git a/Start-DoneTickNotifier.ps1 b/Start-DoneTickNotifier.ps1 index 6a94eee..2b670cd 100644 --- a/Start-DoneTickNotifier.ps1 +++ b/Start-DoneTickNotifier.ps1 @@ -86,7 +86,7 @@ if ($overdueTasks.Count -ne 0) $content = "The following tasks are overdue!`n" foreach($overdueTask in $overdueTasks) { - $content += "$($overdueTask.Name) was due $((Get-Date $overdueTask.nextDueDate -Format "MM/dd/yyyy HH:mm").ToLocalTime())`n" + $content += "$($overdueTask.Name) was due $((Get-Date $overdueTask.nextDueDate).ToLocalTime())`n" } Send-Notification -title "OVERDUE TASKS" -content $content } @@ -97,7 +97,7 @@ if ($todaysTasks.Count -ne 0) $content = "The following tasks are due today!`n" foreach($task in $todaysTasks) { - $content += "$($task.Name) is due $((Get-Date $task.nextDueDate -Format "MM/dd/yyyy HH:mm").ToLocalTime())`n" + $content += "$($task.Name) is due $((Get-Date $task.nextDueDate).ToLocalTime())`n" } Send-Notification -title "TODAY'S TASKS" -content $content } \ No newline at end of file