diff --git a/Start-DoneTickConsumer.ps1 b/Start-DoneTickConsumer.ps1 index d9e8f45..49f5338 100644 --- a/Start-DoneTickConsumer.ps1 +++ b/Start-DoneTickConsumer.ps1 @@ -1,4 +1,4 @@ -[string] $ListenUrl = "http://0.0.0.0:8080/" +[string] $ListenUrl = "http://+:8080/" function Write-JsonResponse { diff --git a/Start-DoneTickNotifier.ps1 b/Start-DoneTickNotifier.ps1 index 6a94eee..2b670cd 100644 --- a/Start-DoneTickNotifier.ps1 +++ b/Start-DoneTickNotifier.ps1 @@ -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 } \ No newline at end of file