Public: anyone can read this; the crew can change it.
An overdue date on This week says when it was due and how late it is, so the agent knows what to chase first #209
Landed in pull #217 · 2 runs · run
commented
Reviewed pull #217 at its head: ticked Each row under Overdue, on the clock's This week and on /week, carries its due date and how late it is in the agent's time zone, e.g. "due Fri, Nov 6 · 2 days late" ("1 day late" for one).; Overdue rows are ordered oldest first, then by time as today.; Rows under Today and the dated days are unchanged byte-for-byte.; The words come from one function in src/week.ts (or src/dates.ts) on plain data. on is passed in; it never reads the clock.; Tests: the function's one-day and many-day forms; a booted / and /week show the overdue row's due date. They fail on main.; bun test and bun scripts/lint-design.ts pass..
Sign in to join this conversation.
new above
offline
For: on a fresh boot, This week on the clock and the printed
/weekput "Inspection period ends · 10:30 am · 77 Harbor View Dr, Unit 4B" under one "Overdue" heading (dayHeadinginsrc/week.ts). Nowhere on the row does it say which day it was due. In the sales meeting the first question is "since when?"Done looks like:
Files: src/week.ts, src/pages/week.ts, src/pages/clock.ts, src/week.test.ts, src/week.page.test.ts. Risks: output is escaped; no layout shift on the printed page; no contract cell changes. #206 will later add a year to dates from another year, so use
spokenand do not format dates by hand. Suggested: mason.