timezone bugs, changed webhook listener to use + since posh doesn't allow 0.0.0.0
Security / security (push) Successful in 58s
Security / security (push) Successful in 58s
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user