.. include:: /Includes.rst.txt .. _feature-1791283704: =============================================== Feature: Lower a day's target by hours of leave =============================================== Description =========== An absence of the working-day calendar may cover a time window instead of a half: the part ``hours`` with its ``seconds``. It lowers the day's target by those seconds, together with half days at most to zero, and leaves the working window as it is. Hours of leave stand beside a half day on the same date; sickness still replaces every leave. Time tracking weighs them by their share of the day: time off in lieu debits the seconds from the working-time account, and the attendance summary and the absence credit count the share. Absences in ``getWorkingDayCalendar`` and the attendance day carry the new part (``AbsencePart``), and calendar absences report ``seconds``, null for every other part. Impact ====== Clients that read absence parts must accept ``hours``. .. index:: API, package:adsum-working-time, package:adsum-attendance, package:adsum-core