.. include:: /Includes.rst.txt .. _feature-1793070156: ======================================================== Feature: Spare settled periods when the calendar changes ======================================================== Description =========== When holidays or weekly off days change, the attendance days of all employees in the range are recalculated. Even when HR asks for the past, days in a closed payroll month and in a period of a settled working-time settlement now keep their values, and so do days before the history boundary of the company. Only a request that sets ``includeProtectedPeriods`` recalculates them. Approved and pending leave is charged anew for past days only when HR asked for the past with ``applyFrom``; before, such a change reached days from tomorrow on only. Impact ====== Balances of settled periods and closed payroll months stay as they were booked. HR who needs a corrected period sets ``includeProtectedPeriods`` knowingly. .. index:: API, package:adsum-attendance, package:adsum-leave