Granularity

The Granularity plugin controls what part of a day a time-off request can book. Tick each kind of day the time off type allows: full days, half days, part days or the rest of the day. Any combination works, as long as one is ticked.
When to use
Use this plugin when:
- Company policy only allows full-day vacation requests
- You want to permit half days but not smaller amounts
- Part days must follow a fixed step, for example 15 minutes for a refund rule
- A “gone home sick” type should only book the rest of the day
Without the plugin, a policy allows full days only.
Parameters
| Parameter | Description | Default |
|---|---|---|
| Full days | Whole working days. | On |
| Half days | Half a day on a single day, or at the start or end of a period. | Off |
| Part days | Any part of a day, entered as hours. | Off |
| Step | Shown when Part days is ticked. Part days must be a multiple of it, for example 15 min. Leave it empty for any duration. | Empty |
| Rest of the day | What is left of one day, today or earlier, worked out from the time already registered. Nobody enters hours. | Off |
How it works
When a request is submitted or changed, every day of it is checked:
- A whole day needs Full days .
- Half a day needs Half days or Part days .
- Any other part of a day needs Part days . With a Step , it must be a multiple of the step. This applies to every day booked below its norm, including a partial first or last day of a period.
- The rest of the day needs Rest of the day .
Full days and the rest of the day are never held to the step: a full day is the day’s norm (such as 7:24), and the rest of the day is worked out by mTime.
A request that does not fit is refused, also when a manager registers it. Requests that already exist stay valid when you change the setting.
With a step, employees enter a part day under Other as hours, rounded to the step. Quarter days are not offered, since they rarely land on a step (a quarter of 7:24 is 1:51).
Rest of the day
Rest of the day adds one more choice for a single day up to today. It is meant for leave like “gone home sick”, where someone stops part-way through the day and should not have to work out the hours. mTime books what is left of that day’s working hours — the scheduled hours, minus what is already registered, checked in or taken off on it — and, for today, checks the employee out first if they are still checked in. Once a day has work or a check-in on it, it can no longer be registered as a full day: Full day is disabled with a message and Rest of the day is chosen instead. See the sick leave card.
Examples of blocked requests:
- The rest of a future day
- A full day on a day that already has work or a check-in on it
- The rest of a day that already has a different type of time off
- The rest of a day before anything is on it — no check-in and no registered time (book a full day instead)
Already logging “gone home sick” on the timesheet? If people type a “gone home sick” activity straight into their timesheet, create a time off policy for that activity, give the activity the Own sickness category, and tick Rest of the day under Granularity on the policy. It then appears in Register sick leave next to your sickness type, with Rest of the day . From then on the activity is registered through that form: an activity that has a time off policy can no longer be entered on the timesheet directly.
Rest of the day on its own
A type with only Rest of the day ticked allows nothing but the rest of a single day, today or earlier — Rest of the day is the only duration offered, and it is chosen for the employee. Use it for a separate “gone home sick” type next to a sickness type that takes full days, so a whole day of sickness is always registered on the sickness type. On the sick leave card this type is selected automatically once the day has something on it. Everything about Rest of the day above applies; when it is not available (a future day, nothing left of the day, or nothing on the day yet), nothing can be registered on this type. Once the day has started and this type can be used on it, your other sickness types can no longer register that day as a full day either: the form says so and offers a button to switch to this type. Where no such type can be used — for example on a day before it was created — full days stay as they are.
Examples of blocked requests:
- A full day
- Several days, or a future day
Examples
Vacation: full days only
Tick Full days only.
Personal time: half days allowed
Tick Full days and Half days .
Comp time: any duration
Tick Full days , Half days and Part days , and leave Step empty.
Sickness in steps of 15 minutes
Refund rules sometimes only accept absence in steps of a quarter of an hour:
- Tick Full days and Part days
- Set Step to 15 min
3:45 is accepted; 3:40 is refused with “Only in steps of 15 min”.
Gone home sick
A type for leaving a day already under way, next to a full-days Sickness type: tick Rest of the day only. Tick Part days as well, with a step, to also let people register a part of a day ahead.
Sick leave: full days or the rest of the day
Tick Full days and Rest of the day .
Error messages
When a request doesn’t fit, employees see which parts of a day the type allows, for example “Half or full days only” or “Only in steps of 15 min”.