Closed ion-elgreco closed 6 months ago
You will have to compile to expressions. In your register_plugin
you will then know which expression to call.
@ritchie46 so I would have to create an expression with a func_output_field for each timezone?
Oh.. it is different for every timezone? Hmm.. have to think about this.
Yes, the user provides the timezone, and then the function returns the datetime with this timezone
We added a function in polars-xdt which changes the timezone of the datetime, this know at hand since we pass the time-zone through the kwargs, see some example code here to mimic the behaviour:
I would like to pass the kargs.to_tz to the from_local_datetime_output, is this possible? If not how should I handle the func output type in that case.
Do you have any ideas @ritchie46?