forked from indymedia/epicyon
Debug
parent
248151141f
commit
4aa832fc02
|
@ -2748,7 +2748,8 @@ def weekDayOfMonthStart(monthNumber: int,year: int) -> int:
|
||||||
"""Gets the day number of the first day of the month
|
"""Gets the day number of the first day of the month
|
||||||
1=sun, 7=sat
|
1=sun, 7=sat
|
||||||
"""
|
"""
|
||||||
firstDayOfMonth=datetime.datetime(year, monthNumber, 1, 0, 0)
|
firstDayOfMonth=datetime(year, monthNumber, 1, 0, 0)
|
||||||
|
print('weekDayOfMonthStart: '+str(int(firstDayOfMonth.strftime("%w"))+1))
|
||||||
return int(firstDayOfMonth.strftime("%w"))+1
|
return int(firstDayOfMonth.strftime("%w"))+1
|
||||||
|
|
||||||
def htmlCalendar(translate: {}, \
|
def htmlCalendar(translate: {}, \
|
||||||
|
|
Loading…
Reference in New Issue