Skip to content

Fixed OrgDate._as_datetime, added test #43

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

Merged
merged 1 commit into from
Oct 31, 2021
Merged

Fixed OrgDate._as_datetime, added test #43

merged 1 commit into from
Oct 31, 2021

Conversation

tbruckmaier
Copy link
Contributor

when a datetime object was passed, time information got lost
(datetime.datetime is a child of datetime.date, so datetime objects
were wrongly converted)

when a datetime object was passed, time information got lost
(`datetime.datetime` is a child of `datetime.date`, so datetime object
were wrongly converted)
@karlicoss
Copy link
Owner

thanks! sorry it took me a while to get to it, I'll do a pypi release soon as well

@karlicoss karlicoss merged commit d1bd16e into karlicoss:master Oct 31, 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.

2 participants