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

When converting a date time where the time is '00:00:00' infer returns a date type instead of date time #11

Merged
merged 8 commits into from
Jan 14, 2018

Conversation

albertocalderari
Copy link
Contributor

Solved this by removing if if dt.time() in the date_formats loop in the convert_datetime() method.

@albertocalderari
Copy link
Contributor Author

@bruth could you have a look into my pull request please?
Also there seem to be some issue with the coverage report which I can't explain.

Copy link
Owner

@bruth bruth left a comment

Choose a reason for hiding this comment

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

Minor formatting, but looks great otherwise. Thanks for the contribution! I will look into the coverage issue.

@@ -1,11 +1,15 @@

Copy link
Owner

Choose a reason for hiding this comment

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

Remove empty line.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

strconv.py Outdated
from datetime import datetime
import re

import sys
Copy link
Owner

Choose a reason for hiding this comment

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

Move import of re and sys to the top with spaces.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What do you mean with "with spaces"?

@bruth bruth merged commit d108c48 into bruth:master Jan 14, 2018
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.

None yet

2 participants