.. include:: /Includes.rst.txt .. _bugfix-1793372275: ================================================== Bugfix: Cut a clock-out on the day of its clock-in ================================================== Description =========== The import cut the clock-out of an activity that Horilla closed much later at the clock-in plus the target of the day. For a late clock-in that landed after midnight and booked the time onto a day the person did not start, and on a day without target (a weekly day off, a holiday) the average working day was invented. The cut now stays within the day of the clock-in: at most its last second in the time zone of the person. A day without target gets that last second, and the activity is reported with the new warning ``clockOutCutNoTarget``; the go-live check lists these days apart as ``clockOutCutNoTargetDays``, so that HR corrects them. The notice of a cut day and the attendance day now say what was done, in the language of the reader: cut to the target of the day after the clock-in, cut at the end of the day because the target would pass midnight, or cut at the end of the day and please correct it. The reason of a cut punch has the new values ``endOfDay`` and ``noTargetEndOfDay``. Impact ====== A fresh import corrects the days already imported. .. index:: CLI, Migration, package:adsum-migration