The Romos Life

Hours Adder with Temporal API

Enter your work hours in a simple format. The system intelligently parses time ranges and calculates total hours worked. This POC demonstrates the power of the new Temporal API for precise time calculations.

How it works:

• Skip lines that don't match the time format (like greetings or notes)

• Handle AM/PM suffixes (4:30-10:20pm, 6 - 1pm)

• Support abbreviated AM/PM (a/p instead of am/pm)

• Smart AM/PM inference (4:30-10:20pm = 4:30pm-10:20pm)

• Support abbreviated days (Mon, Tues, W, etc.)

• Handle missing colons (Mon 6 - 1pm)

• Parse times without day names (7:45 - 2:15)

• Convert times to 24-hour format

• Calculate duration for each day

• Sum total hours worked

• Show you which lines were skipped and why

$

Enter your hourly rate to calculate total earnings