to_datetime may give incorrect results #9673
Labels
A-temporal
Area: date/time functionality
bug
Something isn't working
python
Related to Python Polars
Polars version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Issue description
There are a few more cases of when
NaiveDateTime.parse_from_string
fails, but then the fallbackNaiveDate.parse_from_string
passes and "chops off" some dataReproducible example
Expected behavior
to either raise, or match
datetime.strptime
Installed versions
The text was updated successfully, but these errors were encountered: