mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
Display "Track date only"-chores as all-day events on the calendar (fixes #941)
This commit is contained in:
parent
c8c540970d
commit
95ca6f6354
@ -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:
|
||||
|
@ -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
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user