From 0d119f494b713d0a9ce6a4104052a19c98e820c6 Mon Sep 17 00:00:00 2001 From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com> Date: Tue, 12 May 2026 19:02:32 -0400 Subject: [PATCH] Only show day/night shift labels on weekends in schedule display MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Weekday shifts are always night — the label was redundant clutter. --- src/shared/python/shared/blocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/python/shared/blocks.py b/src/shared/python/shared/blocks.py index 134564f..df12dcb 100644 --- a/src/shared/python/shared/blocks.py +++ b/src/shared/python/shared/blocks.py @@ -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)*"