The "problem" itself relates just to DayOverview() component.
Just get last segment from previous day and check if its end lies in the requested day. Add to Segment UI part properties: displayStart and displayEnd which will be used to compose DayOverview().
Also limit a segment's displayEnd time if it lies in the next day.
The "problem" itself relates just to
DayOverview()
component.Just get last segment from previous day and check if its end lies in the requested day. Add to Segment UI part properties:
displayStart
anddisplayEnd
which will be used to composeDayOverview()
.Also limit a segment's
displayEnd
time if it lies in the next day.