Integrating Work Hours and Holiday Schemas for Accurate Timesheet Management

Integrating Work Hours and Holiday Schemas for Accurate Timesheet Management

The Work Hours Schema plays a key role in standardizing and automating the management of employee working time within the organization.

The primary purpose of the Work Hours Schema is to define the expected daily working hours for each employee. When combined with the holiday schema, it enables precise calculation of the required work hours a user must log for each day of the week. This calculation supports accurate time tracking and ensures compliance with organizational and legal working time policies. The computed required hours are displayed as tooltips on the corresponding timesheet cells. If the required hours for a day are zero (e.g., due to a holiday), the cell is highlighted in green to indicate that the work hour obligation for that day has been fulfilled.

Example: Work Hours and Holiday Integration

Work Hours Schema:

  • Monday to Friday: 8 hours per day required

  • Saturday and Sunday: 0 hours (weekend)

Holiday Schema:

  • Monday, November 10, 2025: Whit Monday (Public Holiday)

Timesheet View

image-20251027-122153.png

Timesheet Behavior:

  • Cells for days with required work hours display tooltips on hover showing detailed info such as:

    • Hours logged

    • Required hours (from Work Hours Schema)

    • Holiday information

    • Applicable schemas (e.g., Default Work Hours Schema, German Holiday Schema)

Date

Day

Required Hours

Logged Hours

Tooltip Info Highlights

Cell Color Indicator

Date

Day

Required Hours

Logged Hours

Tooltip Info Highlights

Cell Color Indicator

November 6

Thursday

8 hours

8 hours

Required: 8h, Logged: 6h Reached the required amount

Light green background cell

November 10

Monday

0 hours (Holiday)

1h

Required: 0h Holiday: Whit Monday, Holiday Hours: 8h

Light green background (holiday highlight)-Light red background cell

November 11

Tuesday

8 hours

8 hours 10 minutes

Required: 8h, Logged: 8h 10m Exceeded the required log work amount.

Light red background cell

November 14

Friday

8 hours

6 hours

Required: 8h, Logged: 6h Required amount not yet reached

No highlight

November 16

Sunday

0 hours

4 hours 30 minutes

Weekend — no hours required

Light red background cell

Calendar View

image-20251027-130313.png

The calendar view for November 2025 displays Jessie Lauren’s logged work hours alongside the required daily hours defined by the Work Hours Schema and adjusted by the Holiday Schema.

Overview:

  • Total logged hours: 81 hours 55 minutes

  • Total required hours: 152 hours (Since November 10, 2025 is holiday, 8 hours are deducted from the 160 hours)

  • Tooltip indicates “Default work hours schema / German Holiday Schema” in use.

Date

Logged / Required

Color & Meaning

Date

Logged / Required

Color & Meaning

Nov 4-6

8h / 8h

Green progress (full required hours)

Nov 7

7h 30m / 8h

Black progress - Required amount not yet reached.

Nov 10

1h / (holiday)

Red: holiday, no required hours

Nov 11

8h 10m / 8h

Red: overtime/above required hours

Nov 14

6h / 8h

Black progress -Required amount not yet reached

Nov 16

4h 30m / (weekend)

Red: weekend with logged hours