.. include:: /Includes.rst.txt .. _bugfix-1793454786: =================================================== Bugfix: Keep the cut when the day record mirrors it =================================================== Description =========== A validated day record of Horilla was imported as an approved correction. On a day whose forgotten clock-out the import had cut, the record only mirrors that clock-out, because Horilla summed up its own activities: it ends where the forgotten activity ended. Imported, it restored the clock-out and the day grew by the whole night. A validated record, or an approved request without requested data, whose clock-out equals the clock-out of the cut activity to the minute is now skipped with the information ``recordMirrorsCutClockOut``, and the cut stays in the list of the cut days for HR. A record with another clock-out is a correction as before. Impact ====== A fresh import brings the days back to their target; a copy of a real history had 97 such days of six people. The attendance days are recalculated at the end of the run. .. index:: CLI, package:migration