This article explains how to choose the time step for hourly leave on the Leave settings screen. For hourly leave, the Leave request and Add leave for employees windows list start and end times in this step. The company admin or users with the LEAVE_TYPE_ADD (leave rules) permission change the setting; it applies to the whole company.
Before you start
Employees must have a Work Schedule assigned (Work schedules and public holidays); the time list comes from that day's working hours.
Step by step
In the left menu, go to Configuration, choose Leave in the list on the left and then the Settings card.
Choose the step in Time step for hourly leave: 5 minutes, 10 minutes, 15 minutes, 30 minutes (default) or 60 minutes. The example under the field shows the list for a 09:00-14:10 work day.
Click Save at the bottom. To drop your change, use Discard changes; if you leave the page with unsaved changes, you are asked first.
Without the permission the screen opens read-only and says who can change the setting.
Result
For hourly leave, times are listed in the chosen step starting from the shift start (for example 09:00, 09:15, 09:30 with 15 minutes).
Whatever the step, the day's shift start, shift end, break start and break end are always listed. For example, if Saturday's working hours are 09:00-14:10, 14:10 can be picked and a leave from 09:00 to 14:10 counts as exactly 1 day.
In a company that never changes the setting, the list keeps its half-hour step.
The setting applies to leave windows opened afterwards; leaves entered before do not change.
Common problems
Symptom: The shift ends at 14:10, but the leave duration shows 0.96 days.
Cause: The leave ends at 14:00; 14:00-14:10 is not part of the leave.
Solution: Pick the last time of the end time list (14:10, the shift end).
Symptom: The time you want (for example 09:05) is not in the list.
Cause: The chosen step does not list times that are not on it.
Solution: Set the step to 5 minutes or 10 minutes; shift and break times are listed anyway.
