---
title: "Feature: Tell the clock what the server counts and allows"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1791255571@main"
source: "Changelog/1.0.0/Feature-1791255571-TellTheClockWhatTheServerCountsAndAllows.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Tell the clock what the server counts and allows {#feature-1791255571}

## Description {#description}

`getMyClock` returns, in its fixed shape, also `currentSessionSeconds` (worked since the last clock-in or break
end), `remainingTargetSeconds` (the day's target minus the time worked, never below 0), `serverTime`,
`allowedActions` (the punches this client may make now; none while time tracking is off or the punch method is
not allowed) and `showRunningTimer` from the company settings.

The clock in the top bar offers only the punches the server allows, hides the counting time when the company
switched it off, and says so when the employee may not punch through the browser.

## Impact {#impact}

Clients take the punch buttons from `allowedActions` instead of deriving them from the state.
