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

BUG: Correct datetime64 missing type overload for datetime.date #18640 #18763

Merged
merged 1 commit into from Apr 13, 2021

Conversation

BvB93
Copy link
Member

@BvB93 BvB93 commented Apr 13, 2021

Backport of #18690.

The np.datetime64 can in fact take any object with the day, month and year properties (e.g. dt.date) and not just dt.datetime.

@BvB93 BvB93 added 00 - Bug 08 - Backport Used to tag backport PRs Static typing labels Apr 13, 2021
@BvB93 BvB93 added this to the 1.20.3 release milestone Apr 13, 2021
@charris charris merged commit 9501d2b into numpy:maintenance/1.20.x Apr 13, 2021
@charris
Copy link
Member

charris commented Apr 13, 2021

Thanks Bas.

@BvB93 BvB93 deleted the datetime branch April 13, 2021 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants