diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-13 09:55:00 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-13 09:55:00 +0100 |
| commit | 7829a18d8049087eaa963fb922a8701cc9851979 (patch) | |
| tree | 0ce6c851a96ff4f337a47ac40d6253a9f8f7f079 /desktop/modules/sbbuilder/SbbDesktopModule.qml | |
| parent | 70d2b0c0e2e83dd2f17bd49dc2f06d39a7f7f4cf (diff) | |
| download | quickshell-7829a18d8049087eaa963fb922a8701cc9851979.tar.gz quickshell-7829a18d8049087eaa963fb922a8701cc9851979.zip | |
feat(island): date and time format settings
The clock pill hard-coded "ddd dd/MM" and "HH:mm", and the calendar its
day headings. A new Date and time page in the Island bar group picks a
24- or 12-hour clock and one of 22 date formats, grouped by order (day,
month or year first) and each shown as today's date. The calendar's
headings and editor dates keep spelling the month out and follow the
chosen order; agenda times and the hour picker go compact on the
12-hour clock ("9:30p", "1p"), where width is short. A preview mocks the
pill and panel with the unsaved choice.
The formats live in Cal.js (DATE_GROUPS), which Prefs imports to
validate island.dateFormat. Event times still store and show as 24-hour
HH:MM, since that is what calctl speaks, but normTime now also accepts
am and pm ("9.30pm", "12am"), rejecting an hour outside 1 to 12 with one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/sbbuilder/SbbDesktopModule.qml')
0 files changed, 0 insertions, 0 deletions
