---
title: "Bugfix: Cut an activity that the next clock-in closed"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:bugfix-1793440315@main"
source: "Changelog/1.0.0/Bugfix-1793440315-CutAnActivityClosedByTheNextClockIn.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Bugfix: Cut an activity that the next clock-in closed {#bugfix-1793440315}

## Description {#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 {#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.
