.. include:: /Includes.rst.txt .. _bugfix-1793440315: ===================================================== 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 ``closedByNextClockIn`` in the notice, on the attendance day, in the list of the cut days and in the ``originalReason`` of the punch in the API. On a day without planned time the reason stays ``noTargetEndOfDay``. 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. .. index:: API, CLI, package:migration, package:attendance