From 5a04f407d358064d2252d8f71bb93fd26d598fac Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 10 Oct 2019 20:06:32 +0100 Subject: [PATCH] Ranges --- webinterface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webinterface.py b/webinterface.py index 8531809f..0f6bd3ff 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2822,9 +2822,9 @@ def htmlCalendar(translate: {}, \ dayOfMonth=0 dow=weekDayOfMonthStart(monthNumber,year) - for weekOfMonth in range(1,5): + for weekOfMonth in range(1,6): calendarStr+=' \n' - for dayNumber in range(1,7): + for dayNumber in range(1,8): if (weekOfMonth>1 and dayOfMonth<=daysInMonth) or \ (weekOfMonth==1 and dayNumber>=dow): dayOfMonth+=1