Unexpected behaviour when casting time-zone aware datetime to date #22864
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
When casting a time-zone aware datetime column, the result differs from calling
polars.Expr.dt.date()
.Expected behavior
I would have expected that the time zone would be respected when casting—i.e., both operations return the same value.
Installed versions
The text was updated successfully, but these errors were encountered: