From 248151141fc5fb926b66636ffec20bfaaa8cf504 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 10 Oct 2019 19:52:57 +0100 Subject: [PATCH] datetime --- webinterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index f3f184aeb..96de328b9 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2748,7 +2748,7 @@ def weekDayOfMonthStart(monthNumber: int,year: int) -> int: """Gets the day number of the first day of the month 1=sun, 7=sat """ - firstDayOfMonth=datetime(year, monthNumber, 1, 0, 0) + firstDayOfMonth=datetime.datetime(year, monthNumber, 1, 0, 0) return int(firstDayOfMonth.strftime("%w"))+1 def htmlCalendar(translate: {}, \