Only show day/night shift labels on weekends in schedule display

Weekday shifts are always night — the label was redundant clutter.
This commit is contained in:
Adam Moussa 2026-05-12 19:02:32 -04:00
parent 702f1fd9a2
commit 0d119f494b

View file

@ -23,7 +23,7 @@ def _format_shift_line(
shift_type: str = "night",
) -> str:
day_label = date.strftime("%a %b %-d")
if shift_type in SHIFT_LABELS:
if date.strftime("%A") in WEEKEND_DAYS and shift_type in SHIFT_LABELS:
day_label += f" {SHIFT_LABELS[shift_type]}"
if is_today:
day_label = f"*{day_label} (today)*"