improved timetable date range calculation to ensure the current week remains accessible during holiday gaps or when persisted bounds are stale, and updated holiday labels to prioritize long names over short names in the calendar view.

This commit is contained in:
2026-07-04 23:54:50 +02:00
parent 74a2ddd17f
commit b14e8c8ea2
2 changed files with 18 additions and 4 deletions
@@ -83,7 +83,7 @@ class SpecialRegionsBuilder {
final day = startDay.addDays(i);
final key = _dayKey(day);
byDay.putIfAbsent(key, () => _HolidayDay(day, [])).names.add(
holiday.shortName,
holiday.longName.isNotEmpty ? holiday.longName : holiday.shortName,
);
}
}