Files
doona/changes/feat-date-format.md
T
Zakk 08a2ebf3c7 feat(i18n): let the time follow a 24-hour, 12-hour or regional clock
Times were fixed to a 24-hour clock in every language and date order.

A Time format setting beside the date format picks the clock. 24-hour stays
the default; 12-hour writes the interface language's own day-period words;
Automatic takes the hour cycle Intl reports for the browser's first language
tag, falling back to the interface locale. The clock composes with every date
order, and Year-Month-Day writes its day period in the interface language.

format.ts resolves the clock in one place for localTime, localMinute,
localTimeFormat and the new localClockFormat, which the chart axes and the log
heatmap now use in place of their own h23 formatters. The choice is stored in
doona-time-format and shows up in the search dialog.

A 12-hour time is longer, so a source card's expiry takes the width it needs
(a row of its own when wider than half the card), the log and event time
columns are wider, and the heatmap axis hides its middle mark where a longer
time would leave less than 16px between marks.
2026-10-04 18:48:09 +11:00

256 B

Added

  • A date format setting next to the language. Automatic, the default, writes dates in the order of the browser's region, so an English interface in an Australian browser shows 27/10/26; Day/Month/Year, Month/Day/Year and Year-Month-Day override it.