Skip to content

Work period overtime for fire and police

The rule

  • A public agency sets a work period of 7 to 28 consecutive days for its fire protection or law enforcement staff, starting on a date it chooses and repeating from there.
  • Hours worked past the work period’s threshold are overtime. For 28 days the threshold is 212 hours for fire protection and 171 for law enforcement; a shorter period has the same threshold in proportion.
  • There is no daily overtime and no 40-hour week: a 24-hour shift, or a week of 48 hours, is overtime only past the period’s threshold.
Days in the work periodFire protectionLaw enforcement
28212171
21159128
1410686
75343

Who uses it

Cities, counties, fire districts and sheriffs’ offices. Fire departments on 24-hour shifts often use 27- or 28-day periods; police departments often use 14 days, to match their pay periods.

How the recipe does it

Configuration only: a package (package.toml) whose people are paid every two weeks, with a layer for each service, each one standard threshold step on a window of its own length.

[[layer]]
id = "pay"
settings = { pay_periods = { every_days = 14, from = "2026-09-13" } }
[[layer]]
id = "fire"
applies_to = "attributes.service = fire"
[[layer.step]]
id = "work-period"
uses = "standard/threshold"
params = { over = "212h", to = "overtime", window = { every = "28d", starts = "2026-09-13" } }
[[layer]]
id = "police"
applies_to = "attributes.service = police"
[[layer.step]]
id = "work-period"
uses = "standard/threshold"
params = { over = "86h", to = "overtime", window = { every = "14d", starts = "2026-09-13" } }
  • window is the work period: every its length in days, starts the date the agency chose. The periods repeat from there, whatever the pay periods are.
  • A work period longer than a pay period counts the earlier pay periods’ hours without moving them; the overtime falls in the pay period the work period ends in, the latest hours first.
  • Each layer applies to the people whose employment attribute service names it, on the days it does.

Parameters

ParameterMeaning
windowThe work period: { every = "28d", starts = "2026-09-13" }, 7 to 28 days from the agency’s start date.
overThe threshold for that length (the table above): "212h" for 28 days of fire protection.
toThe category overtime goes to.
countsNot set: every worked category. Paid leave and holidays set up as not worked do not count.

What the scenarios show

  • nine-fire-shifts-in-twenty-eight-days: 216 hours in 28 days are 4 hours of overtime, the last shift’s, in the second pay period; no week past 40 hours is overtime.
  • exactly-the-threshold-is-not-overtime: 212 hours in 28 days.
  • police-on-a-fourteen-day-period: 90 hours in 14 days are 4 past 86.
  • a-seven-day-work-period: a department’s own layer sets 7 days and 53 hours.

This is a common way public agencies implement the partial overtime exemption for fire protection and law enforcement under section 7(k) of the U.S. Fair Labor Standards Act; check the rules where you operate. Which employees qualify, whether sleep and meal time on long shifts is excluded, and any state law or collective agreement that pays more decide what applies.

Get the recipe

The recipe’s package and its scenarios are in the example packages repository: attendance/work_period_overtime. Test it, or your own copy of it, with hourctl attend test, and publish it with hourctl attend pkg publish.

The policy package

The package’s layers, with the standard steps each one runs and their settings:

work_period_overtime/package.toml
name = "work_period_overtime"
version = "1.0.0"
description = "Fire protection and law enforcement overtime by work period: time worked past the threshold for a work period of 7 to 28 days, anchored on the agency's chosen start date, instead of past 40 hours a week."
# Paid every two weeks from Sunday 13 September 2026, the date the agency
# chose to start its work periods. Firefighters (employment attribute
# service = fire) work 28-day periods, overtime past 212 hours; police
# officers (service = police) 14-day periods, overtime past 86 hours.
# There is no daily overtime: a 24-hour shift is overtime only past the
# period's threshold.
[[layer]]
id = "pay"
settings = { pay_periods = { every_days = 14, from = "2026-09-13" } }
[[layer]]
id = "fire"
applies_to = "attributes.service = fire"
[[layer.step]]
id = "work-period"
uses = "standard/threshold"
params = { over = "212h", to = "overtime", window = { every = "28d", starts = "2026-09-13" } }
[[layer]]
id = "police"
applies_to = "attributes.service = police"
[[layer.step]]
id = "work-period"
uses = "standard/threshold"
params = { over = "86h", to = "overtime", window = { every = "14d", starts = "2026-09-13" } }

Scenarios

Each scenario gives a person’s punches and setup and the timecard they must produce, worked out with this package adopted (the format).

A fire department that chose 7-day work periods (its own layer changes the step's parameters): the threshold scaled to 7 days is 53 hours, so three 24-hour shifts in the week from Sunday 13 September (72 hours) are 19 hours of overtime, the latest first
scenarios/a-seven-day-work-period.toml
description = "A fire department that chose 7-day work periods (its own layer changes the step's parameters): the threshold scaled to 7 days is 53 hours, so three 24-hour shifts in the week from Sunday 13 September (72 hours) are 19 hours of overtime, the latest first"
punch = [
{ at = "2026-09-13 07:00", kind = "in" }, { at = "2026-09-14 07:00", kind = "out" },
{ at = "2026-09-16 07:00", kind = "in" }, { at = "2026-09-17 07:00", kind = "out" },
{ at = "2026-09-19 07:00", kind = "in" }, { at = "2026-09-20 07:00", kind = "out" },
]
[policy]
zone = "America/Chicago"
[[layer]]
id = "seven-days"
[[layer.step]]
id = "work-period"
change = "params"
params = { over = "53h", window = { every = "7d", starts = "2026-09-13" } }
[[employment]]
effective = "2026-01-05"
kind = "hired"
attributes = { service = "fire" }
[expect.period]
day = "2026-09-13"
worked = "72h"
allocations = [
"2026-09-13 07:00-2026-09-14 07:00 work 24.00",
"2026-09-16 07:00-2026-09-17 07:00 work 24.00",
"2026-09-19 07:00-12:00 work 5.00",
"2026-09-19 12:00-2026-09-20 07:00 overtime 19.00",
]
stamps = [
"2026-09-19 12:00-2026-09-20 07:00 overtime: work-period [[email protected]/fire rev 1, seven-days rev 1]: moved 19h from work to overtime: over 53h in the 7 days",
]
Eight 24-hour shifts and one of 20 hours in the 28-day work period: exactly 212 hours, so nothing is overtime
scenarios/exactly-the-threshold-is-not-overtime.toml
description = "Eight 24-hour shifts and one of 20 hours in the 28-day work period: exactly 212 hours, so nothing is overtime"
punch = [
{ at = "2026-09-13 07:00", kind = "in" }, { at = "2026-09-14 07:00", kind = "out" },
{ at = "2026-09-16 07:00", kind = "in" }, { at = "2026-09-17 07:00", kind = "out" },
{ at = "2026-09-19 07:00", kind = "in" }, { at = "2026-09-20 07:00", kind = "out" },
{ at = "2026-09-22 07:00", kind = "in" }, { at = "2026-09-23 07:00", kind = "out" },
{ at = "2026-09-25 07:00", kind = "in" }, { at = "2026-09-26 07:00", kind = "out" },
{ at = "2026-09-28 07:00", kind = "in" }, { at = "2026-09-29 07:00", kind = "out" },
{ at = "2026-10-01 07:00", kind = "in" }, { at = "2026-10-02 07:00", kind = "out" },
{ at = "2026-10-04 07:00", kind = "in" }, { at = "2026-10-05 07:00", kind = "out" },
{ at = "2026-10-07 07:00", kind = "in" }, { at = "2026-10-08 03:00", kind = "out" },
]
[policy]
zone = "America/Chicago"
[[employment]]
effective = "2026-01-05"
kind = "hired"
attributes = { service = "fire" }
[expect.period]
day = "2026-09-27"
worked = "92h"
allocations = [
"2026-09-28 07:00-2026-09-29 07:00 work 24.00",
"2026-10-01 07:00-2026-10-02 07:00 work 24.00",
"2026-10-04 07:00-2026-10-05 07:00 work 24.00",
"2026-10-07 07:00-2026-10-08 03:00 work 20.00",
]
A firefighter on 24-hour shifts works nine in the 28-day work period from 13 September: 216 hours, 4 past 212. The first pay period's five shifts (120 hours, 48 of them in one calendar week) are no overtime; the second pay period counts them, so the 4 hours are the last shift's last 4. No 24-hour shift is overtime on its own, and no week past 40 hours is
scenarios/nine-fire-shifts-in-twenty-eight-days.toml
description = "A firefighter on 24-hour shifts works nine in the 28-day work period from 13 September: 216 hours, 4 past 212. The first pay period's five shifts (120 hours, 48 of them in one calendar week) are no overtime; the second pay period counts them, so the 4 hours are the last shift's last 4. No 24-hour shift is overtime on its own, and no week past 40 hours is"
punch = [
{ at = "2026-09-13 07:00", kind = "in" }, { at = "2026-09-14 07:00", kind = "out" },
{ at = "2026-09-16 07:00", kind = "in" }, { at = "2026-09-17 07:00", kind = "out" },
{ at = "2026-09-19 07:00", kind = "in" }, { at = "2026-09-20 07:00", kind = "out" },
{ at = "2026-09-22 07:00", kind = "in" }, { at = "2026-09-23 07:00", kind = "out" },
{ at = "2026-09-25 07:00", kind = "in" }, { at = "2026-09-26 07:00", kind = "out" },
{ at = "2026-09-28 07:00", kind = "in" }, { at = "2026-09-29 07:00", kind = "out" },
{ at = "2026-10-01 07:00", kind = "in" }, { at = "2026-10-02 07:00", kind = "out" },
{ at = "2026-10-04 07:00", kind = "in" }, { at = "2026-10-05 07:00", kind = "out" },
{ at = "2026-10-07 07:00", kind = "in" }, { at = "2026-10-08 07:00", kind = "out" },
]
[policy]
zone = "America/Chicago"
[[employment]]
effective = "2026-01-05"
kind = "hired"
attributes = { service = "fire" }
[expect]
week = "2026-09-14"
worked = "48h"
allocations = [
"2026-09-16 07:00-2026-09-17 07:00 work 24.00",
"2026-09-19 07:00-2026-09-20 07:00 work 24.00",
]
[expect.period]
day = "2026-09-27"
first = "2026-09-27"
last = "2026-10-10"
worked = "96h"
allocations = [
"2026-09-28 07:00-2026-09-29 07:00 work 24.00",
"2026-10-01 07:00-2026-10-02 07:00 work 24.00",
"2026-10-04 07:00-2026-10-05 07:00 work 24.00",
"2026-10-07 07:00-2026-10-08 03:00 work 20.00",
"2026-10-08 03:00-07:00 overtime 4.00",
]
stamps = [
"2026-10-08 03:00-07:00 overtime: work-period [[email protected]/fire rev 1]: moved 4h from work to overtime: over 212h in the 28 days",
]
A police officer (service = police) works ten 9-hour days in the 14-day work period: 90 hours, 4 past 86, the latest; the firefighters' 212 hours over 28 days do not apply to them, and neither does a 40-hour week (the first week's 54 hours are no overtime on their own)
scenarios/police-on-a-fourteen-day-period.toml
description = "A police officer (service = police) works ten 9-hour days in the 14-day work period: 90 hours, 4 past 86, the latest; the firefighters' 212 hours over 28 days do not apply to them, and neither does a 40-hour week (the first week's 54 hours are no overtime on their own)"
punch = [
{ at = "2026-09-13 07:00", kind = "in" }, { at = "2026-09-13 16:00", kind = "out" },
{ at = "2026-09-14 07:00", kind = "in" }, { at = "2026-09-14 16:00", kind = "out" },
{ at = "2026-09-15 07:00", kind = "in" }, { at = "2026-09-15 16:00", kind = "out" },
{ at = "2026-09-16 07:00", kind = "in" }, { at = "2026-09-16 16:00", kind = "out" },
{ at = "2026-09-17 07:00", kind = "in" }, { at = "2026-09-17 16:00", kind = "out" },
{ at = "2026-09-18 07:00", kind = "in" }, { at = "2026-09-18 16:00", kind = "out" },
{ at = "2026-09-21 07:00", kind = "in" }, { at = "2026-09-21 16:00", kind = "out" },
{ at = "2026-09-22 07:00", kind = "in" }, { at = "2026-09-22 16:00", kind = "out" },
{ at = "2026-09-23 07:00", kind = "in" }, { at = "2026-09-23 16:00", kind = "out" },
{ at = "2026-09-24 07:00", kind = "in" }, { at = "2026-09-24 16:00", kind = "out" },
]
[policy]
zone = "America/Chicago"
[[employment]]
effective = "2026-01-05"
kind = "hired"
attributes = { service = "police" }
[expect.period]
day = "2026-09-13"
worked = "90h"
allocations = [
"2026-09-13 07:00-16:00 work 9.00",
"2026-09-14 07:00-16:00 work 9.00",
"2026-09-15 07:00-16:00 work 9.00",
"2026-09-16 07:00-16:00 work 9.00",
"2026-09-17 07:00-16:00 work 9.00",
"2026-09-18 07:00-16:00 work 9.00",
"2026-09-21 07:00-16:00 work 9.00",
"2026-09-22 07:00-16:00 work 9.00",
"2026-09-23 07:00-16:00 work 9.00",
"2026-09-24 07:00-12:00 work 5.00",
"2026-09-24 12:00-16:00 overtime 4.00",
]
stamps = [
"2026-09-24 12:00-16:00 overtime: work-period [[email protected]/police rev 1]: moved 4h from work to overtime: over 86h in the 14 days",
]