Danish Inconvenience Hours (17-06 rule)
The Danish Inconvenience Hours filter implements the ulempetillæg / “17-06 rule” of Statens arbejdstidsaftale (Medst.nr. 022-26), § 13 Ulempegodtgørelse. It bundles all the weekday-evening, weekend and holiday clauses into a single configurable filter so you don’t have to chain multiple plugins to express the standard rule.

When to use
Use this filter as the basis of a policy that pays the Danish state inconvenience supplement. It already covers:
- Weekday evenings/nights (default 17:00–06:00, configurable)
- Full weekends (Saturday 00:00 to Sunday 24:00)
- Standard Danish public holidays (søgnehelligdage)
- Partial coverage on Grundlovsdag (Constitution Day) from a configurable hour
- Partial coverage on Christmas Eve from a configurable hour
- Optionally, Store Bededag
The result is what an inconvenience-supplement payroll line typically needs. If your agreement only differs by a different start hour, use this filter and adjust the parameters — don’t reach for Time Interval and Danish Holidays separately.
§ 13 replaces the natpenge agreement’s night pay and weekend supplement (“træder i stedet for tillæg efter § 1 og § 2 i aftalen om natpenge”), so don’t add a Danish Weekend Supplement policy for the same employees. What § 14 adds instead is the weekendgodtgørelse: 50 % for work from Saturday 00:00 to Sunday 24:00 and on søgnehelligdage. Set it up as its own policy with the Weekend filter and a rule with Danish Holidays limited to the søgnehelligdage — not Christmas Eve, Grundlovsdag or New Year’s Eve.
Holidays come from the holiday calendar
The public holidays (søgnehelligdage) come from the employee’s own holiday calendar: take one off the calendar and it is no longer a supplement day. For an employee without a holiday calendar, the built-in list of søgnehelligdage is used.
Other days off on the calendar — New Year’s Eve, 1 May, the day after Ascension Day, a closure day — stay ordinary days by default: the agreement pays søgnehelligdage only, and it says “Juleaftensdag, nytårsaftensdag og grundlovsdag er ikke helligdage” (remarks to § 4). If your agreement pays them in full, turn on Other Days Off Count : every day off on the calendar then counts as a full holiday. Turn it on too for employees in Greenland, whose extra holidays under Bilag 2 (such as 21 June) count like søgnehelligdage. Grundlovsdag and Christmas Eve keep their partial rule by date either way.
Parameters
| Parameter | Description | Default |
|---|---|---|
| Weekday From | Start of the weekday off-hours window as HH:MM. | 17:00 |
| Weekday To | End of the weekday off-hours window as HH:MM. Use 24:00 for end of day. If To is earlier than From, the window crosses midnight (the normal case for an evening/night window). | 06:00 |
| Include Full Weekend | When on, the entire weekend (Saturday 00:00 to Sunday 24:00) counts. | On |
| Include Store Bededag | Treat Store Bededag (Great Prayer Day) as a full inconvenience day. Off by default because the holiday was abolished in 2024. With a holiday calendar, the day must also be on it. | Off |
| Other Days Off Count | Count every other day off on the employee’s holiday calendar (such as New Year’s Eve, 1 May or a closure day) as a full inconvenience day. Off by default: the agreement pays søgnehelligdage only. | Off |
| Grundlovsdag From | Start time on 5 June (Constitution Day). The coverage runs from this time to 24:00. | 12:00 |
| Christmas Eve From | Start time on 24 December. The coverage runs from this time to 24:00. | 14:00 |
A zero-length weekday window (where From equals To) is rejected at save time — use 00:00..24:00 if you actually want full-day weekday coverage.
How it works
The filter computes, day by day, the union of every clause that applies to that day, then intersects the result with the input ranges.
- On a regular weekday, coverage is the weekday window only. With the default 17:00–06:00 window, that gives both
00:00–06:00in the morning and17:00–24:00in the evening. - On a weekend day, coverage is the entire day when Include Full Weekend is on (the weekday window is ignored on Saturday and Sunday).
- On a public holiday (søgnehelligdag), coverage is the entire day, regardless of which weekday it falls on.
- On Grundlovsdag (5 June), coverage is the weekday window unioned with
[Grundlovsdag From, 24:00]. With the defaults that means00:00–06:00∪12:00–24:00. - On Christmas Eve (24 December), the same pattern with
[Christmas Eve From, 24:00].
Grundlovsdag and Christmas Eve keep the weekday window because they are weekdays in the agreement, not holidays. A night shift from Wednesday 23 December 23:00 to Thursday 24 December 06:00 therefore counts 1 hour on 23 December and 6 hours on 24 December.
When a holiday lands on a Saturday or Sunday, the holiday rule wins (full day). When a Christmas Eve or Grundlovsdag lands on a weekend, the broader weekend rule also covers the whole day.
Examples
Standard 17-06 inconvenience supplement
Leave every parameter on its default and add a rule using this filter to a policy. A Tuesday 16:00–20:00 shift contributes 17:00–20:00; a Saturday 09:00–17:00 shift contributes the whole 09:00–17:00.
Tighter window 18-05
Set Weekday From
to 18:00 and Weekday To
to 05:00. Holiday and weekend rules are unaffected.
Without weekend coverage
Turn off Include Full Weekend for an agreement whose inconvenience supplement doesn’t cover weekends. Saturday and Sunday then count nothing, apart from public holidays and the Grundlovsdag and Christmas Eve windows.