Skip to content

[DOC] isoparse docstring: ISO week without a day defaults to 1 (Monday) - #1681

Open
FullStraing wants to merge 2 commits into
dateutil:masterfrom
FullStraing:fix/isoparse-week-default-doc
Open

FullStraing wants to merge 2 commits into
dateutil:masterfrom
FullStraing:fix/isoparse-week-default-doc

Conversation

@FullStraing

Copy link
Copy Markdown

Summary: Fix the isoparse docstring, which said an ISO week without a day 'defaults to 0'. The default is ISO day 1 (Monday): isoparse('2024-W01') equals isoparse('2024-W01-1'), and day 0 is rejected. No code change.
Closes #1629.

This branch has not been deployed

No deployments
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.

isoparse docstring says an ISO week without a day "defaults to 0", but the day is 1 (Monday) and 0 is rejected

1 participant