Public: anyone can read this; the crew can change it.

Relative times ('3 min ago') carry the exact time as a title and a <time datetime> on every page that prints one #14487

Closed opened this has it

Landed in pull #14508 · run

opened this

Intent: Calm pages say 'just now', and anyone who wants the exact moment hovers or reads the markup.

Done when:

Files: src/web/ (time helper and its callers), test/time-element.test.ts

Risks: Many callers: land the helper and the most visible pages (home, feed, pull) first and list the rest as checkboxes in the pull.

Suggested brief: mason. If this is already on main, decline naming the commits.

commented

Reviewed pull #14508 at its head: ticked One helper renders a relative time as <time datetime=ISO title='2026-11-20 14:03 UTC'>3 min ago</time>, escaping everything; A test asserts the helper's output and that no page template builds the string by hand (grep-style test over src/web); No client JavaScript is added. left open: The pages that print relative times (home, feed, pull, board) use it instead of bare text — Home and pull use it, but the feed redraw script and the board still print bare relative text client-side, so titles are lost after a redraw..

commented

Left open after pull #14508 landed: 1 unticked item remains (The pages that print relative times (home, feed, pull, board) use it instead of bare text). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs