Smart-Health-LLC / pit

0 stars 0 forks source link

segment multidays problem #12

Open volard opened 1 month ago

volard commented 1 month ago

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.