Skip to content

Conversation

@Bibo-Joshi
Copy link
Member

See #4250 (comment)

Since method name clearly says date and there is no meaning in specifying a date without time as datetime, I see this as bug fix and not a breaking change.

def to_date(self, year: Optional[int] = None) -> date:
"""Return the birthdate as a datetime object.
.. versionadded:: NEXT.VERSION
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

versionchanged?

Bibo-Joshi and others added 2 commits May 10, 2024 21:54
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
@Bibo-Joshi Bibo-Joshi merged commit c4623c4 into master May 10, 2024
@Bibo-Joshi Bibo-Joshi deleted the birthdate-date branch May 10, 2024 20:23
Bibo-Joshi added a commit that referenced this pull request May 11, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 19, 2024
@Bibo-Joshi Bibo-Joshi added 🔌 bug pr description: bug and removed bug 🐛 labels Nov 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

🔌 bug pr description: bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants