node-red-contrib-ui-time-scheduler icon indicating copy to clipboard operation
node-red-contrib-ui-time-scheduler copied to clipboard

Schduler does not work correctly when transit form summer- to winter time and back.

Open hubient opened this issue 3 years ago • 3 comments

A starttime set on summer time is: 1664076600000 it did translate it to 5:30 when it was summer time. It still displayed it also after restart the NodeRed and load the Data from Disk. When i created a new Schedule same time after switch to winter time, it created this Entry: 1664076600000 Calculated by value / 1000 * (606024) + 25569 in LibreOffice I saw first Entry is: 25.09.2022 03:30:00 Second Entry is: 31.10.2022 04:30:00

Both are displayed as start time 5:30 Node Red runs on a server in UTC.

The Gui (Browser) runs on MESZ for summer (UTC + 1) time and MEZ (UTC + 2)f or winter time. I can not compensate this problem in NodeRed, as there is no hint in the description.

In the Node can not enter which timezone I'm in. Therefore I think the calculation can not respect this.

Having the timezone set in the node could help. Or how can I compensate so a schedule does move correctly along the summer time and winter time and displays this correct. There is no time location in the file nothing i could see what is used and no description how we can avoid this.

hubient avatar Oct 31 '22 15:10 hubient

Bonjour, Je suis dans le même cas que vous et ça prend la tête parce que sont retrouve avec une différence de 1 heure. Avez-vous trouvé une solution par tout hasard ? Merci

boudabass avatar Mar 31 '23 13:03 boudabass

Same problem here. All timers are off by 1 hour after switching from summer to wintertime.

g3rb3n avatar Oct 30 '23 11:10 g3rb3n

Same problem here. Are you planning to fix this?

steveh80 avatar Dec 26 '23 10:12 steveh80