diff --git a/biscuit/apps/chronos/views.py b/biscuit/apps/chronos/views.py index f44a5acdfcb30b1d003b49cf9a3a29aa266e8073..ac99157032b273a3c7e904a40dedc5bb14463fac 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,