Alternative workweek (four 10-hour days)
The rule
Where employees have agreed to an alternative workweek schedule, daily overtime starts after the hours the schedule sets for the day, not after 8. On a schedule of four 10-hour days:
- hours past the day’s scheduled 10 are overtime;
- hours past 12 in a day are double time;
- a day the schedule does not have is overtime from its first hour, and double time past 8;
- hours of straight time past 40 in the week are overtime.
Who uses it
California employers with an alternative workweek adopted by a vote of the work unit; and any employer whose contract counts daily overtime from the scheduled day.
How the recipe does it
Configuration only: a package (package.toml) of one layer. The schedule
itself is the tenant’s shift definitions.
[[layer]]id = "four-tens"[[layer.step]]id = "past-the-schedule"uses = "standard/after_schedule"params = { to = "overtime" }
[[layer.step]]id = "extra-day"uses = "standard/unscheduled_day"params = { tiers = [{ over = "0s", to = "overtime" }, { over = "8h", to = "double_time" }] }
[[layer.step]]id = "long-day"uses = "standard/threshold"params = { window = "day", counts = ["work", "overtime"], over = "12h", to = "double_time" }
[[layer.step]]id = "weekly"uses = "standard/threshold"params = { window = "week", counts = ["work"], over = "40h", to = "overtime" }unscheduled_day takes the time of a workday with no scheduled shift:
all of it to to, or by tiers, each tier’s time past its over to its
to.
Parameters
| Step | Parameter | Meaning |
|---|---|---|
after_schedule | to | Time past the day’s shifts goes here. |
unscheduled_day | tiers | A day with no shift: from its first hour overtime, past 8 double time. |
threshold (day) | over, to, counts | Past 12 hours of work and overtime, double time. |
threshold (week) | over, to, counts | Past 40 hours of straight time, overtime. |
What the scenarios show
four-tens-are-straight-time: four scheduled 10-hour days are 40 hours of straight time.a-long-day-and-a-fifth-day: a 13-hour scheduled day is 10, 2 of overtime and 1 of double time; a 9-hour day off the schedule is 8 of overtime and 1 of double time.
Legal note
This is a common way companies implement an alternative workweek; check the rules where you operate. Adopting one takes a secret-ballot vote and a filing; the schedule’s days and hours are what the shift definitions say, and a layer for the work unit applies the recipe to its people only.
Get the recipe
The recipe’s package and its scenarios are in the example packages repository: attendance/alternative_workweek. 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:
name = "alternative_workweek"version = "1.0.0"description = "An agreed schedule of four 10-hour days: no daily overtime until the scheduled 10 hours, double time past 12, and a day beyond the schedule overtime from its first hour and double time past 8."
# Everyone on the schedule: time past the day's scheduled shift is# overtime; a day with no shift is overtime from its first hour and double# time past 8; past 12 hours a day is double time; past 40 hours of# straight time a week is overtime.[[layer]]id = "four-tens"[[layer.step]]id = "past-the-schedule"uses = "standard/after_schedule"params = { to = "overtime" }
[[layer.step]]id = "extra-day"uses = "standard/unscheduled_day"params = { tiers = [{ over = "0s", to = "overtime" }, { over = "8h", to = "double_time" }] }
[[layer.step]]id = "long-day"uses = "standard/threshold"params = { window = "day", counts = ["work", "overtime"], over = "12h", to = "double_time" }
[[layer.step]]id = "weekly"uses = "standard/threshold"params = { window = "week", counts = ["work"], over = "40h", to = "overtime" }Scenarios
Each scenario gives a person’s punches and setup and the timecard they must produce, worked out with this package adopted (the format).
Monday's 13 hours are the scheduled 10, 2 hours of overtime past the shift and 1 of double time past 12. Friday has no shift: its 9 hours are overtime from the first, and double time past 8. The week's straight time is 40 hours: no more overtime
description = "Monday's 13 hours are the scheduled 10, 2 hours of overtime past the shift and 1 of double time past 12. Friday has no shift: its 9 hours are overtime from the first, and double time past 8. The week's straight time is 40 hours: no more overtime"
punch = [ { at = "2026-10-05 07:00", kind = "in" }, { at = "2026-10-05 20:00", kind = "out" }, { at = "2026-10-06 07:00", kind = "in" }, { at = "2026-10-06 17:00", kind = "out" }, { at = "2026-10-07 07:00", kind = "in" }, { at = "2026-10-07 17:00", kind = "out" }, { at = "2026-10-08 07:00", kind = "in" }, { at = "2026-10-08 17:00", kind = "out" }, { at = "2026-10-09 07:00", kind = "in" }, { at = "2026-10-09 16:00", kind = "out" },]
[policy]zone = "America/Los_Angeles"
[[shift_definition]]id = "ten"start = "07:00"end = "17:00"days = ["monday", "tuesday", "wednesday", "thursday"]
[expect]week = "2026-10-05"allocations = [ "2026-10-05 07:00-17:00 work 10.00", "2026-10-05 17:00-19:00 overtime 2.00", "2026-10-05 19:00-20:00 double_time 1.00", "2026-10-06 07:00-17:00 work 10.00", "2026-10-07 07:00-17:00 work 10.00", "2026-10-08 07:00-17:00 work 10.00", "2026-10-09 07:00-15:00 overtime 8.00", "2026-10-09 15:00-16:00 double_time 1.00",]Four scheduled 10-hour days are 40 hours of straight time: no hour of them is past its scheduled shift, past 12 hours or past 40 in the week, where an 8-hour daily rule would make 8 of them overtime
description = "Four scheduled 10-hour days are 40 hours of straight time: no hour of them is past its scheduled shift, past 12 hours or past 40 in the week, where an 8-hour daily rule would make 8 of them overtime"
punch = [ { at = "2026-10-05 07:00", kind = "in" }, { at = "2026-10-05 17:00", kind = "out" }, { at = "2026-10-06 07:00", kind = "in" }, { at = "2026-10-06 17:00", kind = "out" }, { at = "2026-10-07 07:00", kind = "in" }, { at = "2026-10-07 17:00", kind = "out" }, { at = "2026-10-08 07:00", kind = "in" }, { at = "2026-10-08 17:00", kind = "out" },]
[policy]zone = "America/Los_Angeles"
[[shift_definition]]id = "ten"start = "07:00"end = "17:00"days = ["monday", "tuesday", "wednesday", "thursday"]
[expect]week = "2026-10-05"allocations = [ "2026-10-05 07:00-17:00 work 10.00", "2026-10-06 07:00-17:00 work 10.00", "2026-10-07 07:00-17:00 work 10.00", "2026-10-08 07:00-17:00 work 10.00",]