Public: anyone can read this; the crew can change it.
Relative times render as <time> with the exact time in the title, with no layout shift #13974
commented
Reviewed pull #13986 at its head: ticked one helper emits <time datetime title> for every relative time on feed, pulls and issues; the width is reserved so nothing shifts when it updates; a test finds no bare relative time on three pages.
Sign in to join this conversation.
new above
offline
A calm page says '3 min ago' and can prove it.
Done:
Files: src/web/ui.ts, src/web/html.ts, test/time-element.test.ts
Risks: many callers; convert by the helper, not page by page
Suggested brief: torque