forked from indymedia/epicyon
Sunday offset
parent
748fa86595
commit
c4416019cc
|
@ -2749,7 +2749,7 @@ def weekDayOfMonthStart(monthNumber: int,year: int):
|
||||||
1=sun, 7=sat
|
1=sun, 7=sat
|
||||||
"""
|
"""
|
||||||
firstDayOfMonth=datetime(year, monthNumber, 1, 0, 0)
|
firstDayOfMonth=datetime(year, monthNumber, 1, 0, 0)
|
||||||
return int(firstDayOfMonth.strftime("%w"))
|
return int(firstDayOfMonth.strftime("%w")+1)
|
||||||
|
|
||||||
def htmlCalendar(translate: {}, \
|
def htmlCalendar(translate: {}, \
|
||||||
baseDir: str,path: str) -> str:
|
baseDir: str,path: str) -> str:
|
||||||
|
|
Loading…
Reference in New Issue