---
title: "Bugfix: A day of imported activities holds at most 24 hours"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:bugfix-1793088819@main"
source: "Changelog/1.0.0/Bugfix-1793088819-ADayOfImportedActivitiesHoldsAtMost24Hours.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Bugfix: A day of imported activities holds at most 24 hours {#bugfix-1793088819}

## Description {#description}

An attendance day holds the activities that start on it, including the part of the last one after midnight, so two
activities of nearly 16 hours each gave days of 31.6 hours. The import now cuts the clock-out of the activity that
would take a day above 24 hours where the day reaches 24 hours, with the warning `clockOutCut`, and reports the
activity that takes a day above 16 hours with the warning `longDay`, whose field is the date, for HR to check.

## Impact {#impact}

Re-run the stage `punches` to apply the rule to an import done before; activities that overlap were already cut
before the next clock-in.
