jensrossbach / node-red-contrib-chronos

Time-based Node-RED scheduling, repeating, queueing, routing, filtering and manipulating nodes
https://jensrossbach.github.io/node-red-contrib-chronos
MIT License
28 stars 1 forks source link

Use Chronos Config to set date/time #82

Closed ErwinAnwyhere365 closed 2 years ago

ErwinAnwyhere365 commented 2 years ago

As discussed in on our other topic I would like to raise a feature request to use the chronos config to set the date time in the node itself. In this way you will we able to use the configured chronos locations date time in stead of the Node Red Instance time.

jensrossbach commented 2 years ago

Please note that I will implement only the possibility to manually configure the time zone in the configuration node (e.g., via a text field where you can enter the IANA name of the time zone). A programmatic calculation of the time zone based on the geographical coordinates requires large databases which need to be updated regularly in order to guarantee accuracy. Also there are corner cases where coordinates do not match an exact time zone and therefore manual control would anyway be necessary. I don't think this small piece of convenience outweighs the disadvantages of a significantly increased package size due to a large database which in addition requires regular updates.

jensrossbach commented 2 years ago

Implemented with release v1.17.0.