fix a bug
This commit is contained in:
parent
361b033485
commit
1600736d48
@ -139,7 +139,7 @@ class CalendarMonth(CalendarList):
|
||||
self.month = month
|
||||
r = calendar.monthrange(year, month)
|
||||
|
||||
first = date(year, month, r[0])
|
||||
first = date(year, month, 1)
|
||||
last = date(year, month, r[1])
|
||||
|
||||
super().__init__(first, last, filter)
|
||||
|
Loading…
Reference in New Issue
Block a user