Skip to content

Fix bug: week_of_month#439

Closed
dindom999 wants to merge 1 commit intopython-pendulum:masterfrom
dindom999:master
Closed

Fix bug: week_of_month#439
dindom999 wants to merge 1 commit intopython-pendulum:masterfrom
dindom999:master

Conversation

@dindom999
Copy link
Copy Markdown

There is a bug:

In [1]: import pendulum

In [2]: pendulum.parse("2020-01-01").week_of_month
Out[2]: 1

In [3]: pendulum.parse("2020-01-07").week_of_month
Out[3]: 1  ==>should be 2

In [4]: pendulum.parse("2020-01-14").week_of_month
Out[4]: 2 ==>should be 3

@StephenBrown2
Copy link
Copy Markdown

Looks like this was fixed in #446

@sdispater sdispater closed this Jul 4, 2020
@chrimaho chrimaho mentioned this pull request Jun 19, 2021
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.

3 participants