resolving #10
Security / security (push) Successful in 58s

completing #8
This commit is contained in:
2026-06-02 20:35:10 -05:00
parent 68be07e01d
commit 075c6079c3
+2 -2
View File
@@ -103,7 +103,7 @@ function Receive-Webhook
} }
"task.reminder" { "task.reminder" {
$notificationTitle = "Donetick Task Reminder" $notificationTitle = "Donetick Task Reminder"
$notificationContent = "$($payload.data.name) is due at $(Get-Date $payload.data.due_date)" $notificationContent = "$($payload.data.name) is due at $((Get-Date $payload.data.due_date).ToLocalTime())"
} }
"task.created" { "task.created" {
$notificationTitle = "Donetick Task Created" $notificationTitle = "Donetick Task Created"
@@ -113,7 +113,7 @@ function Receive-Webhook
} }
else else
{ {
$notificationContent = "$($payload.data.chore.name) created with due date of $(Get-Date $payload.data.chore.nextDueDate)" $notificationContent = "$($payload.data.chore.name) created with due date of $((Get-Date $payload.data.chore.nextDueDate).ToLocalTime())"
} }
} }
default { default {