---
title: "Bugfix: Keep the clock running through midnight"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:bugfix-1790997987@main"
source: "Changelog/1.0.0/Bugfix-1790997987-KeepTheClockRunningThroughMidnight.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Bugfix: Keep the clock running through midnight {#bugfix-1790997987}

## Description {#description}

After midnight the clock looked only at the punches of the new day. Someone on a night shift, or who had not clocked
out yet, saw "Clocked out" and a button to clock in, which the punch rules then refused, so they could not clock out
in the browser. The clock now follows the last punch, like the punch rules, and counts today's time from midnight
for a shift that is still running.

## Impact {#impact}

getMyClock returns working or onBreak with the earlier since while a shift from the day before is
still running.
