[Calendar][PATCH] CalendarScreenlet shows wrong number of days in month
Bug #243569 reported by
ASDFASDF
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Individual Screenlets |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I noticed today that Calendar screenlet shows that June has 31 days but in fact it has 30 days.
I think the error is in line 157 that goes:
for x in range(date[4] + 1):
and it should go:
for x in range(date[4]):
affects: | screenlets → indiv-screenlets |
Changed in indiv-screenlets: | |
status: | Confirmed → Fix Committed |
importance: | Undecided → Medium |
summary: |
- [PATCH] CalendarScreenlet shows wrong number of days in month + [Calendar][PATCH] CalendarScreenlet shows wrong number of days in month |
Changed in indiv-screenlets: | |
status: | Fix Committed → In Progress |
Changed in indiv-screenlets: | |
status: | In Progress → Fix Committed |
Changed in indiv-screenlets: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
There was also error in the code that calculated the number of days in month.
Here is the patch.