node-red-contrib-sun-position icon indicating copy to clipboard operation
node-red-contrib-sun-position copied to clipboard

Within Time Node Output order swapped after time change

Open zygi79 opened this issue 2 years ago • 0 comments

Describe the bug The node "Within Time" worked from July 2021 correctly up to the night where the time change was on 31.10.2021. In case that the current point in time is within the time range, the input shall be forwarded to output 1 and if not to output 2. Now after the time change this order has changed. So in case that the current time is within the defined time range, the incoming message is forwarded to output 2 and otherwise to output 1. Now one day later on 01.11.2021 everything is again as it should be, so if the current timestamp is within the defined range the message is forwarded to output 1 again and if not it is forwarded to output 2. So it seems that only the day where the time change happens leads to this issue.

Screenshots 31.10.2021 (day of the time change) image

01.11.2021 (day after the time change) image

Expected behavior The time change should not have an influence on the message forwarding

System information (please complete the following information):

  • Node Version 1.2.4
  • Node-Red Version 2.1.3

Additional context

zygi79 avatar Oct 31 '21 20:10 zygi79