.. include:: /Includes.rst.txt .. _feature-1791245013: ================================================== Feature: Earn days off in lieu by work on days off ================================================== Description =========== The time tracking settings carry ``offDayWorkCompensation``: ``account`` (default, the work is plus time) or ``compensatoryDays`` with ``compensatoryHalfDayThresholdSeconds`` (default 14400) and ``compensatoryFullDayThresholdSeconds`` (default 21600). Under ``compensatoryDays``, a final public holiday, weekly day off, roster day off or day without target earns half or a whole compensatory day, books a daily delta of 0 and creates no overtime claim; ``CompensatoryDaysEarned`` and, after a recalculation, ``CompensatoryDaysChanged`` announce it to leave. The attendance day shows the earned days and the threshold that applied. Horilla counted all work on a day off as overtime from 00:00 and offered no days off. Impact ====== New columns ``attendance_day.compensatory_half_days`` and ``compensatory_threshold_seconds``. Both events live in the working-time package, which time tracking and leave depend on. .. index:: API, Database, Frontend, package:adsum-attendance, package:adsum-working-time