Repository navigation
Dates and times in replies are formatted by the message guest - #178
Conversation
The reply's day, time and full date were written by the browser's Intl formatters. They are now parts of the sentence provider's MessageFormat 2 messages (:date, :time, :datetime), formatted by the message guest that holds Unicode's suite, in the wall time the browser keeps at that instant. The wording is CLDR's, so the space before AM and PM is the narrow no-break one. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3QJd7xb3e68VpYTus2
|
Merge train notice: the merge train merges this pull request once it is green on current main; don't enable auto-merge. Generated by Claude Code |
The newest turn was brought into view before its sources and its decision were added, so in a log taller than its box the Keep button sat below the fold (seen on the published page). It is now brought into view after them. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3QJd7xb3e68VpYTus2
|
Merge train: 9395f47: not merged, because its check "page / gates" ended failure on this head, so it is not green; push to this branch to run it again. Fix it on this branch (merge main first) and the train tests it again. Generated by Claude Code |
|
Everything else in the run passed, including Lighthouse, the journeys and the chat acceptances. The merge of main re-runs the checks on a new head. Generated by Claude Code |
|
Merge train: 6e7a037: not merged, because its check "page / gates" ended failure on this head, so it is not green; push to this branch to run it again. Fix it on this branch (merge main first) and the train tests it again. Generated by Claude Code |
|
Live: this change is on the published page, as main The publish job opened the published page in a fresh Chromium and its live checks passed (PG-01, PD-01, PD-02): https://github.com/afflom/me/actions/runs/43977249372 |
Requested by Alex · project thread
What
Third slice of the chat remodel. A reply's day, time and full date were written by three browser
Intlformatters insite/router/answer.mjs. They are now parts of the sentence provider's MessageFormat 2 messages inapp/specs/router/spec.json, formatted by the message guest that holds all 461 tests of Unicode's suite (on main since #167).whentakes the instant and formats it with:date fields=month-day-weekday length=mediumand:time precision=minute;nowwith:datetime dateFields=year-month-day-weekday dateLength=long timePrecision=minute.atis an instant; the request carries the offset the browser keeps at that instant, so daylight saving is the browser's.test/time/order.test.mjsfollows that.Checked
site/router/*.test.mjsandtest/time/*.test.mjspass in UTC, America/New_York, America/Los_Angeles, Asia/Kolkata and Australia/Adelaide. Gates run locally: GN-01, realizability, coherence, prompts, ST-01, HW-01.Generated by Claude Code