.. include:: /Includes.rst.txt .. _bugfix-1793454814: ======================================================= Bugfix: Cut a day of absence to the target that is left ======================================================= Description =========== A forgotten clock-out was cut to the scheduled target of its day, also on a day that an absence reduces. A day of vacation or sickness got a full working day of tracked time on top of the absence, and a half day of vacation twice its target. The cut now uses the target that is left after the absence: a day of vacation or sickness is cut at the clock-in, a half day at the clock-in plus half the target less the earlier work. A day whose scheduled target is zero, a weekly day off or a holiday, keeps the end of the day. For this the stage ``punches`` runs after ``leave-requests`` where both are run. Impact ====== A fresh import gives these days their target. Without a fresh import the days stay as they were imported. .. index:: CLI, package:migration