node-red-contrib-cron-plus icon indicating copy to clipboard operation
node-red-contrib-cron-plus copied to clipboard

Dynamic timezone

Open bigbean17 opened this issue 7 months ago • 2 comments

Hi,

Im my use case, I need to dynamically set the timezone, either using a input node or getting it from the environment variable

Is it possible to do that? This is what I tried but it still use my system timezone. Image

Thanks for helping!

bigbean17 avatar Mar 27 '25 21:03 bigbean17

No, that is not supported.

You can however use ENV VARs e.g.

Image

Image

Demo is using group level flow env vars however, they could easily be OS level env vars!

Maybe that is enough for your current requirements?


However, I will leave this issue open and mark it as a feature request.

Steve-Mcl avatar Mar 28 '25 07:03 Steve-Mcl

Thank you @Steve-Mcl! This helps a lot!

bigbean17 avatar Mar 31 '25 01:03 bigbean17