---
title: "Bugfix: Keep the breaks of a day when Horilla corrects it"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:bugfix-1793228276@main"
source: "Changelog/1.0.0/Bugfix-1793228276-KeepTheBreaksOfADayWhenHorillaCorrectsIt.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Bugfix: Keep the breaks of a day when Horilla corrects it {#bugfix-1793228276}

## Description {#description}

The stage `attendance-corrections` replaced all punches of a day by one interval from the corrected clock-in to
the corrected clock-out, so the breaks between the punches counted as work. An approved request now changes only what
it changed in Horilla: the first clock-in and the last clock-out. The punches between stay (information
`correctionKeptPunches`); where the corrected times do not fit them, the corrected pair replaces them as before
(`correctionReplacedPunches`). When the worked time of the request is lower by a minute or more than the day that
results, for example because of a punch of one second, the difference becomes one break in the longest work interval
and the day ends at the worked time of Horilla (`correctionBreakAdded`, `correctionBreakNotPlaceable`). A
worked time that is missing, zero or unreadable (`attendanceWorkedHoursMissing`) or higher than the day
(`attendanceWorkedHoursExceedSpan`) leaves the day as it is and is reported. The next run replaces the days that
an earlier run imported and records their punches again.

## Impact {#impact}

Imported days with an approved correction no longer carry the breaks as work time. Run the stage again on an import
that was made before to correct those days.
