completing #8
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user