Skip to content

Conversation

@jontsai
Copy link
Member

@jontsai jontsai commented Dec 14, 2021

Fixes start_of_month by simply using 1, instead of calendar.monthrange[0],
which was erroneously setting it to the week-day of the first day of the month

Closes #8

…hrange[0]`,

which was erroneously setting it to the [week-day of the first day of the month](https://docs.python.org/3/library/calendar.html#calendar.monthrange)
@jontsai jontsai merged commit 05a054a into master Dec 14, 2021
@jontsai jontsai deleted the bugfix/start-of-month branch December 14, 2021 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ValueError: day is out of range for month

2 participants