refactor(alarms): one date formatter, and a picker year range sized to its date

The list and editor now format a date through the same helper as the
widget, and the date pickers keep their default years unless a stored
date lies beyond them, instead of always spanning to 9999.
This commit is contained in:
makiolaj committed 2026-10-22 08:20:19 +02:00
1 parent c5de9becdf
commit 9839520b7b
2 files changed
+14 -9

No files matched your search

+1 -1
View File
@@ -1345,7 +1345,7 @@ on a date set for today drops the date. Picking a date switches the alarm on, si
a switched-off alarm would read "Scheduled for" and stay silent. Picking a repeat day clears the date
and clearing the last one clears the pause, as in Google Clock. The
`AlarmClock` contract cannot express either field, so `SET_ALARM` never
re-uses an alarm that carries one (§17).
re-uses an alarm whose date or pause is still in force (§17).
## 12. The app shell