Work

Overnight

Treating a shift that crosses midnight as one shift across scheduling, time tracking, approvals and absences, instead of two split calendar days.

Role
Lead product designer
Company
Personio
Team
PM, engineering manager, front-end and back-end engineers; design manager in the loop
Timeline
August 2025 – May 2026
Results
Launched in May 2026 after a closed beta, as an opt-in for two months and then for everyone. Only a handful of support tickets came in over the first three months, and about four times as many customers now track overnight shifts regularly as before the release.
Overnight

In short

4xas many customers regularly track overnight shifts as before the release
A handfulof support tickets in the first three months after release, with almost no impact on contact rate
  1. Context

    Personio is an HR platform for small and mid-sized companies; its attendance product feeds balances, overtime and payroll. Our customers are mainly digital desk companies, but night work is typical for call centres and on-call work, and overnight shifts would be a must-have once we started targeting shift workers.

  2. Situation

    An early product decision split any shift that crossed midnight into two calendar days. Employees tracked two days for one shift, we could not check maximum working time and minimum breaks for night shifts, and night premiums were very hard to calculate. Every area that reads those days inherited the error: schedules, timesheets, approvals, absences, balances, payroll exports.

  3. I owned

    I led the design across web, mobile and kiosk: the model for an overnight shift, the information architecture, trade-offs with my PM and engineering manager, customer prototype sessions, stakeholder presentations and handoff.

  4. What changed

    An overnight shift is one shift. It is tracked, reviewed and requested off as a unit, the hours after midnight carry a +1 marker, and hours count towards the day the shift started by default.

The problem

20:0022:0000:0002:0004:0006:0008:00Midnight
Beforesplit by calendar day
Day 12 hours workedDay 26 hours worked
Afterone shift
One overnight shift10pm to 6am, counted on the start day
A 10pm to 6am shift. Split at midnight, 2 hours land on one day and 6 on the next, so neither day matches the schedule.
Example

Month end

A 10pm to 6am shift on the 31st can leave 6 hours out of the employee's monthly total, because those hours fall on the next calendar day.

Customers raised it in feedback, NPS comments and sales conversations. It was also the main compliance gap in attendance and a blocker for night premiums, which competitors already supported. Night premiums themselves were out of scope.

Work time is cut at midnight and an additional entry is necessary to track the additional time for the following day.

Customer feedback

Poor experience for employees

They can't log an overnight shift as one entry and have to split their time.

Absence and leave errors

Absence requests don't account for overnight shifts, skewing balances and creating conflicts.

Reporting and planning gaps

Reports don't reflect overnight work, so HR can't plan shifts or check fair pay.

Churn and lost deals

Lost deals, churn and negative feedback, mostly in retail and manufacturing.

Wrong time and overtime balances

Hours split at midnight skew daily, weekly and monthly balances.

Wrong payroll and premiums

Payroll can't reflect overnight work or apply night and weekend premiums.

Compliance risk

Break and maximum-hour rules break across midnight, risking labour-law violations.

Error-prone scheduling and approvals

Admins and supervisors split shifts and approve the pieces by hand.

How the work unfolded

  1. 1

    Mapped every surface the shift touches

    Before designing anything I mapped the attendance journey in eight steps, from an admin creating a schedule to payroll calculating balances, with today's screens and what breaks at each step. It showed this was a change to the model under six teams' surfaces, not a timesheet fix.

  2. 2

    Designed the happy path, then broke it with scenarios

    A clean 10pm to 6am shift was easy. Breaks across midnight, a period added at 3am, a day off under a night shift and two shifts with only a short rest between them were not. Working through those scenarios turned one feature into a list of rules the system had to get right. I designed for two kinds of night worker: people on rotating day and night shifts, whose schedules set target hours only, and people on fixed overnight shifts with set start and end times. Each got an end-to-end prototype flow: set up the schedule, track time in the timesheet and the home widgets, and request a full or half day off.

  3. 3

    Took the hard questions to the people who owned them

    Several scenarios had no answer inside one team: which day the hours count towards, whether a long gap is rest, what a half day means. I framed them as decisions with options and trade-offs and aligned PM, engineering and the affected teams on each.

My product map: one row per step of the attendance journey, today's screens for each, and green and pink notes for the problem, user story and design needs at every step.
My product map: one row per step of the attendance journey, today's screens for each, and green and pink notes for the problem, user story and design needs at every step.
Close-up of step 1, creating a work schedule. 'Clear day association' (which day do hours after midnight count towards?) became decision 1.
Close-up of step 1, creating a work schedule. 'Clear day association' (which day do hours after midnight count towards?) became decision 1.
One of the edge cases we worked through: a shift that starts at 23:57, three minutes before midnight. Which day should it count towards?
One of the edge cases we worked through: a shift that starts at 23:57, three minutes before midnight. Which day should it count towards?

Four decisions

Each of these came out of the scenarios above. I tested them in prototype sessions with four customers throughout the project, and worked the rest out in options papers and design reviews with my PM and engineering manager.

1

Which day do overnight hours count towards?

Situation
Balances, overtime and payroll need each hour to belong to one day. Splitting at midnight was the existing behaviour.
Options
Keep splitting by calendar day; count the shift on the day it starts; count it on the day it ends.
Chose
Count the whole shift on the day it starts, the default for every new working model. Existing models stay on calendar-day splitting until customers switch.
Why
Customers I interviewed expected the start day. Making it opt-in avoided silently changing balances payroll relied on.
Gave up
No retroactive recalculation, and no end-day option in the first release.
2

Is a long gap a break, or the end of a shift?

Situation
Once a shift can cross midnight, the system has to tell a break inside a shift from the gap between two shifts. Today any gap became a long automatic break, which confused people.
Options
Keep treating any gap as a break; treat a long gap as the end of the shift; and if so, whether to make rest and attendance periods a new concept users see.
Chose
A gap longer than a set threshold ends the shift: it isn't a break and doesn't count as paid or unpaid break time. Customers can configure the threshold, with 4 hours as the default. A shorter gap stays a break, added automatically if the employee doesn't log it. We applied it as a rule underneath, without a new rest concept in the interface.
Why
It fixed the confusing long breaks, kept Overnight about overnight shifts, and avoided a new concept users would have to learn.
Gave up
A proper, user-facing definition of rest. The rule also changes day shifts: long automatic breaks are no longer added there either.

This was the biggest exploration on the project: whether to add rest as something people log, and whether to split a day into named attendance periods. I took it from the most explicit version to the least, so the team could see what each level of concept would cost users.

Most explicit: rest as its own entry type, with a divider stating that gaps over 4 hours count as rest.
Most explicit: rest as its own entry type, with a divider stating that gaps over 4 hours count as rest.
Named attendance periods, the overnight one tagged, with a button to add another period.
Named attendance periods, the overnight one tagged, with a button to add another period.
Least explicit: entries simply grouped, with one plain label saying which day the time after midnight counts towards.
Least explicit: entries simply grouped, with one plain label saying which day the time after midnight counts towards.
3

Adding a period to a shift that crosses midnight

Situation
Adding a period at 03:00 to a shift that started at 22:00 is ambiguous: tonight, or that afternoon?
Options
Five prototypes: reshuffle automatically, pick the day, confirm with a dialog, add from a dropdown, add in between.
Chose
A minimal change: we kept the existing patterns and added no new interaction.
Why
No customer had flagged this as a problem, and the back-end logic was already large.
Gave up
The new interaction patterns I explored; none resonated with the team.
Pick the day: each time gets a dropdown to choose whether 03:00 means Wednesday or Thursday.
Pick the day: each time gets a dropdown to choose whether 03:00 means Wednesday or Thursday.
Add in between, prototype 1: hover between two rows, a + opens a menu for a work or break period.
Prototype 2: a full-width insert bar between rows, 'Click to insert here'.
Prototype 3: in an overnight shift, inserting work or a break right after midnight.
4

Absences follow the shift, not the calendar

Situation
Taking Monday off left Tuesday's part of a Monday night shift active and created deficit hours.
Options
Keep absences on calendar days and ask for two days, or attach the request to the shift that starts that day.
Chose
When the work schedule has start and end times, the requested hours are deducted from the target hours of the shift on the day it starts, so Monday off removes the whole Monday night shift. Half days are halves of the shift, and the form says which hours it covers. When the schedule has no start and end times, absences work as before.
Why
The rule follows the two kinds of night worker. Fixed overnight workers have start and end times, so the system knows which shift a day off covers; three of four interviewed customers expected it to be the shift that starts that day. Rotating workers' schedules set target hours only, so there is no shift to attach the absence to, and guessing would have been worse than keeping today's behaviour.
Gave up
One rule for every schedule. And a half day no longer means morning or afternoon, so the form explains it.
Full day: Monday shift, 22:00 to 06:00+1.
Full day: Monday shift, 22:00 to 06:00+1.
Second half: 02:00+1 to 06:00+1.
Second half: 02:00+1 to 06:00+1.
Several days in one sentence.
Several days in one sentence.

A smaller call: how to mark hours that belong to the next day. I put five markers through design review (a text label, '+1d', a weekday chip, a moon icon, a calendar icon), and we settled on a small '+1' badge on larger time inputs, the same on every surface.

The same rules on other surfaces

These aren't new decisions. They show the rules above carried into surfaces like the kiosk, where an employee clocks out and sees how their time was saved. Break and max-hour rules are checked on the whole shift, so a 10pm to 10am shift cannot pass as two short ones, and an entry after a long gap starts a new workday.

Kiosk after clock-out: the employee is told that a work period was saved to a different day.
Kiosk after clock-out: the employee is told that a work period was saved to a different day.
What was tracked vs what was saved: 22:00 to 02:30+1 stays on Jan 3 as one shift, and the 06:31 entry after the gap moves to Jan 4. The added break comes from the existing break policy, not from Overnight.
What was tracked vs what was saved: 22:00 to 02:30+1 stays on Jan 3 as one shift, and the 06:31 entry after the gap moves to Jan 4. The added break comes from the existing break policy, not from Overnight.

When a rule moves time into another day

The hardest case was attribution changing someone's time behind their back. In one scenario an employee had tracked 12:00 to 20:00 on Jan 4, then added a period from 10:00+1 to 12:00+1 to Jan 3. The attribution rules moved it to Jan 4, which pushed Jan 4 over the maximum working hours. The employee had to see that before confirming, and the same way on every device.

I set principles for the review screen that every platform follows:

Two days are affected, so the modal shows both: Jan 3 in red with its violation, Jan 4 unaffected in grey, and the recommended changes in green.
Two days are affected, so the modal shows both: Jan 3 in red with its violation, Jan 4 unaffected in grey, and the recommended changes in green.
Where violations sit, and the before: every adjusted period used to carry its own explanation, which the new version drops.
Where violations sit, and the before: every adjusted period used to carry its own explanation, which the new version drops.
The same review on mobile: Jan 4 turns red because the moved period pushes it past the 9-hour maximum.
The same review on mobile: Jan 4 turns red because the moved period pushes it past the 9-hour maximum.
Recommended changes: Jan 4 back within the limit and shown in green, ready to accept.
Recommended changes: Jan 4 back within the limit and shown in green, ready to accept.

The home widget hid real complexity too. I mapped what an employee sees on login across manual and live tracking, and as a team we agreed two rules, which were built. When the end time is known, the widget resets at the later of midnight or the minimum rest period. When it isn't, the entry stays for at most one extra day, then the widget resets at midnight.

Manual tracking: what the widget shows on login, depending on what was recorded and the time the employee opens the app.
Manual tracking: what the widget shows on login, depending on what was recorded and the time the employee opens the app.
Live tracking: the same scenarios. An open 22:00 entry stays visible until the end of the next day, then the widget resets.
Live tracking: the same scenarios. An open 22:00 entry stays visible until the end of the next day, then the widget resets.

How I led and aligned

Overnight crossed team lines: mobile, shift planning, time policies, inbox, home page and reporting all owned surfaces that had to change. I was the designer holding the whole model together across them.

Where I pushed backI argued against UI changes that customers had not asked for. My design manager pushed for broad visual exploration; I made the case to my PM that every new pattern would grow the scope, on top of a large amount of new back-end logic. I still explored the options properly, so the team could compare them, and none of them earned their cost. We kept the interface change to the minimum (decision 3).

The design

Tracking, reviewing and approving an overnight shift.

Schedules

Admin: a fixed night schedule, 22:00 to 07:00+1 each weekday, entered as one shift per day.
Admin: a fixed night schedule, 22:00 to 07:00+1 each weekday, entered as one shift per day.
Employee: on a flexible schedule, people set their own night shifts and submit them for approval.
Employee: on a flexible schedule, people set their own night shifts and submit them for approval.
Rollout: existing schedules stay on calendar-day splitting, so admins are prompted to create overnight schedules for night-shift employees.
Rollout: existing schedules stay on calendar-day splitting, so admins are prompted to create overnight schedules for night-shift employees.

Tracking

A day shift and a night shift on the same date: Wed 3 Jan runs 10:00 to 15:00 and again 22:00 to 02:00+1, and all of it counts towards the 3rd.
A day shift and a night shift on the same date: Wed 3 Jan runs 10:00 to 15:00 and again 22:00 to 02:00+1, and all of it counts towards the 3rd.
Overlap with the night before: a 02:00 entry on Tuesday clashes with Monday's night shift, which already counts for Monday, and the note above says so.
Overlap with the night before: a 02:00 entry on Tuesday clashes with Monday's night shift, which already counts for Monday, and the note above says so.
Mobile: one shift, 22:00 to 07:00+1, with its break.
Mobile: one shift, 22:00 to 07:00+1, with its break.
Mobile edit: explicit start and end dates.
Mobile edit: explicit start and end dates.
Mobile calendar: night shift listed once, +1 on the end.
Mobile calendar: night shift listed once, +1 on the end.

Review and approval

Supervisors approve one request for the whole shift, with +1 on every time after midnight.
Supervisors approve one request for the whole shift, with +1 on every time after midnight.
When the system moves a period to another day, the activity log says so: 'Moved to Jan 4', next to who changed what.
When the system moves a period to another day, the activity log says so: 'Moved to Jan 4', next to who changed what.

Absences

Requesting a day off states which shift it covers: 'the Monday shift from 22:00 to 06:00+1'.
Requesting a day off states which shift it covers: 'the Monday shift from 22:00 to 06:00+1'.
The team calendar keeps that context, so supervisors see the shift the absence covers.
The team calendar keeps that context, so supervisors see the shift the absence covers.

What customers said when they saw it

I ran prototype sessions with four customers throughout the project. These are reactions before release, not post-launch data.

Shipping it all at once

Overnight meant rethinking how our attendance product worked and how data flowed between its parts:

The scale of the change was unprecedented, and we could not ship it gradually: for overnight to work end to end, every change had to go out at once. We reduced the risk with a closed beta for customers with many night trackers. Once we had confirmed everything was stable, we launched with an opt-in and switched everyone over at the end of two months.

The biggest win was almost no impact on contact rate: only a handful of support tickets came in over the first three months after release.

What I'd do differently

The project changed PM more than once early on, and each handover cost us time re-aligning, so we started without a clear direction and got lost in edge cases. We also spent a lot of time on broad visual exploration that, as decision 3 shows, never earned its cost.

Next time I would spend that time with engineers instead, stress-testing the logic scenario by scenario. The hard part of Overnight was the rules, not the screens, and working closely with engineering would have kept us moving and grounded while the product direction settled.

What's next

Customers want next: forgotten clock-ins and clock-outs, entries restricted to the scheduled shift, flagging missed time and automatic night surcharges. Daylight saving, time zones and end-day attribution were planned for later.

Previous projectCollaborative workspacesNext projectProject tracking