main2
Bob Mottram 2019-10-10 19:52:57 +01:00
parent bdc2533691
commit 248151141f
1 changed files with 1 additions and 1 deletions

View File

@ -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: {}, \