Arbeitszeit icon

Arbeitszeit

Verwaltet und analysiert Arbeitszeiteinträge

Listen → Detaillierte Auswertung

AI-generated

Overview

This node, named 'Arbeitszeit', manages and analyzes work time entries. It processes input data containing timestamps and actions (start/stop) to provide detailed evaluations of work periods. It is useful for tracking work durations, calculating total work time, and identifying inconsistencies such as multiple starts without stops. Practical applications include employee time tracking, project time management, and generating detailed work reports.

Use Case Examples

  1. A user inputs a list of start and stop timestamps to get a detailed report of work periods including duration and total time worked.
  2. Calculating the sum of all work periods to understand total hours worked in a day or project.
  3. Displaying all recorded time entries sorted by timestamp for review.

Properties

Name Meaning
Resource Specifies the resource to operate on, here it is 'Listen' (lists).
Operation Specifies the operation to perform on the resource.

Output

JSON

  • eintraege - Sorted list of all work time entries with date, time, timestamp, and action.
  • auswertung
    • anzahlPerioden - Number of work periods found.
    • perioden - Array of work periods with start time, stop time, duration in hours and minutes, and total minutes.
    • gesamtMinuten - Total minutes worked across all periods.
    • gesamtZeit - Total time worked formatted as hours and minutes.
    • gesamtStunden - Total time worked in decimal hours.
    • offenerStart - Boolean indicating if there is an unmatched start without a stop.
    • letzterStart - Timestamp of the last unmatched start if any.
    • warnungen - Warnings about multiple starts without stops.

Troubleshooting

  • Ensure input data contains the required fields: Datum (date), Zeit (time), Timestamp, and Aktion (action) with values 'start' or 'stop'. Missing or malformed data can cause incorrect calculations or empty outputs.
  • Multiple 'start' entries without corresponding 'stop' entries will generate warnings and may affect total time calculations. Verify data integrity if warnings appear.
  • Timestamps should be in a valid date format recognizable by JavaScript Date object to ensure correct sorting and duration calculations.

Discussion