correctly changing task due timestamp to local time instead of leaving it in UTC
Security / security (push) Successful in 2m14s

fixes #7
This commit is contained in:
2026-05-27 20:38:47 -05:00
parent 55a14dbc4b
commit 7a0506bb5f
+1 -1
View File
@@ -66,7 +66,7 @@ while ($true) {
{
if ($chore.nextDueDate)
{
$dueDate = Get-Date $chore.nextDueDate
$dueDate = (Get-Date $chore.nextDueDate).ToLocalTime()
if (($dueDate - $today).Days -lt 0) #OVERDUE
{
write-host "$($chore.name) $dueDate is overdue!"