From e65165dd839a91ad8403a7277da3ad047608f544 Mon Sep 17 00:00:00 2001 From: Julian Leucker <leuckerj@gmail.com> Date: Fri, 8 Nov 2019 16:33:01 +0100 Subject: [PATCH] Fix the bug --- biscuit/apps/chronos/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/biscuit/apps/chronos/views.py b/biscuit/apps/chronos/views.py index f44a5acd..ac991570 100755 --- a/biscuit/apps/chronos/views.py +++ b/biscuit/apps/chronos/views.py @@ -196,8 +196,8 @@ def plan(request, plan_type, plan_id, regular="", year=None, calendar_week=None) "weeks": get_calendar_weeks(year=year), "selected_week": calendar_week, "selected_year": year, - "short_week_days": zip(SHORT_WEEK_DAYS, holidays), - "long_week_days": zip(LONG_WEEK_DAYS, holidays), + "short_week_days": zip(SHORT_WEEK_DAYS, holidays) if smart else zip(SHORT_WEEK_DAYS), + "long_week_days": zip(LONG_WEEK_DAYS, holidays) if smart else zip(LONG_WEEK_DAYS), "holidays": holidays, "hints": hints, "hints_b": hints_b, -- GitLab