I don't remember if this is known or not, and I don't have much experience with POSIXct. @eitsupi is this a bug?
date <- as.POSIXct("2493-05-15 00:00:00 CEST")
data.frame(x1 = date)
#> x1
#> 1 2493-05-15 <<<<<<<<<<<<<< day is 15
polars::pl$DataFrame(x1 = date)
#> shape: (1, 1)
#> ┌─────────────────────┐
#> │ x1 │
#> │ --- │
#> │ datetime[ms] │
#> ╞═════════════════════╡
#> │ 2493-05-14 23:00:00 │ <<<<<<<<<<<<<< day is 14
#> └─────────────────────┘
neopolars::pl$DataFrame(x1 = date)
#> shape: (1, 1)
#> ┌─────────────────────┐
#> │ x1 │
#> │ --- │
#> │ datetime[ms] │
#> ╞═════════════════════╡
#> │ 2493-05-14 23:00:00 │ <<<<<<<<<<<<<< day is 14
#> └─────────────────────┘
Noticed in etiennebacher/tidypolars#170 (comment)
I don't remember if this is known or not, and I don't have much experience with POSIXct. @eitsupi is this a bug?
Noticed in etiennebacher/tidypolars#170 (comment)