Bugfix: Cut an activity that the next clock-in closed
Description
An activity that ends on a later day, at most ten minutes before the next clock-in of the person, was kept as
Horilla recorded it when it was shorter than 16 hours. Horilla closed it when the person clocked in again, so it is a
forgotten clock-out. The import now cuts it like any other forgotten clock-out, to the target of its day, with the new
reason closed in the notice, on the attendance day, in the list of the cut days and in the
original of the punch in the API. On a day without planned time the reason stays no.
Impact
A night of 22 hours no longer lands on the day of the forgotten clock-out. Night shifts with a real gap before the next clock-in stay as they are. A fresh import applies it.