Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Birthdate.to_date Return a datetime.date Object #4251

Merged
merged 3 commits into from May 10, 2024
Merged

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.

"""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?

telegram/_birthdate.py Outdated Show resolved Hide resolved
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
23 of 24 checks passed
@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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants