---
title: "Bugfix: Keep the average day of a date when the schedule changes later"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:bugfix-1791148653@main"
source: "Changelog/1.0.0/Bugfix-1791148653-KeepTheAverageDayOfADate.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Bugfix: Keep the average day of a date when the schedule changes later {#bugfix-1791148653}

## Description {#description}

With the credit basis `averageDay`, an absence was credited with the weekly contract hours divided by the
working days per week averaged over the whole month. A change of model and contract in the middle of a month (part-time
to full-time, 50 % to 83 %, full-time to part-time) therefore changed the credit of days before the change as soon
as it was entered. The working days per week are now those valid on the day itself.

## Impact {#impact}

Days before a schedule change keep their credit. Days of a month in which a change already took effect may be
credited differently on their next recalculation, now matching their own schedule.
