diff --git a/changelog/60_UNRELEASED_2020-xx-xx.md b/changelog/60_UNRELEASED_2020-xx-xx.md index 5d0dcc90..22a43621 100644 --- a/changelog/60_UNRELEASED_2020-xx-xx.md +++ b/changelog/60_UNRELEASED_2020-xx-xx.md @@ -44,6 +44,7 @@ ### Calendar improvements/fixes - Events are now links to the corresponding page (thanks @zsarnett) - Fixed a PHP warning when using the "Share/Integrate calendar (iCal)" button (thanks @tsia) +- Fixed that "Track date only"-chores were always displayed at 12am (are now displayed as all-day events) ### API improvements/fixes - Breaking changes: diff --git a/services/CalendarService.php b/services/CalendarService.php index 826263c8..b160f17e 100644 --- a/services/CalendarService.php +++ b/services/CalendarService.php @@ -74,7 +74,8 @@ class CalendarService extends BaseService 'title' => $titlePrefix . $chore->name . $assignedToText, 'start' => $currentChoreEntry->next_estimated_execution_time, 'date_format' => 'datetime', - 'link' => $this->UrlManager->ConstructUrl('/choresoverview') + 'link' => $this->UrlManager->ConstructUrl('/choresoverview'), + 'allDay' => $chore->track_date_only == 1 ); } }