We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
parse
date_formats
Is this a bug, an undocumented feature, or maybe I didn't ready the docs thoroughly enough ?=/
In: dp.parse('Time', date_formats=['%d.%m.%Y %H:%M']) Out: datetime.datetime(2021, 11, 19, 0, 0) In: dp.parse('(m)', date_formats=['%d.%m.%Y %H:%M']) Out[58]: datetime.datetime(2021, 11, 19, 0, 0)
I'd expect this to return None to be consistent when date_string doesn't match any date_formats.
date_string
In : dp.parse('something', date_formats=['%d.%m.%Y %H:%M']) Out: None
The text was updated successfully, but these errors were encountered:
Hey @Gallaecio ! I would like to work on this one.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Is this a bug, an undocumented feature, or maybe I didn't ready the docs thoroughly enough ?=/
I'd expect this to return None to be consistent when
date_string
doesn't match anydate_formats
.The text was updated successfully, but these errors were encountered: