completing #8
This commit is contained in:
@@ -103,7 +103,7 @@ function Receive-Webhook
|
||||
}
|
||||
"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" {
|
||||
$notificationTitle = "Donetick Task Created"
|
||||
@@ -113,7 +113,7 @@ function Receive-Webhook
|
||||
}
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user