pola-rs / polars-xdt

Polars plugin offering eXtra stuff for DateTimes
https://marcogorelli.github.io/polars-xdt-docs/
MIT License
187 stars 8 forks source link

feat: add from/to_local_datetime #42

Closed ion-elgreco closed 10 months ago

ion-elgreco commented 10 months ago

Migrated everything over including the tests.

Only thing what I wasn't so sure about was the output_type_func for the from_local_datetime (from_local_datetime_output), since we do know what the new timezone is going to be but I don't know how to pass it to that func 🤷.

@MarcoGorelli do you have an idea?

ion-elgreco commented 10 months ago

@MarcoGorelli 🚀 🚀