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