DST switch and Hub Variables

C8 running 2.5.2.139

After the switch to standard time Sunday morning all of my Hub Variables that are date-time type were set one hour earlier. I don't remember this happening before at the time change.

My rules change the sun related variables daily as sunrise and sunset change.

All the other date-time variables should remain the same.

Is there a configuration for DST that I missed? Or is this a bug/new feature?

Solution:

Rediscovered that to set date/time variable to a specific date and time you need to use two actions

  1. Set the date
  2. Set the time

Using a single action or just changing the date can lead to having the wrong time at the DST time change and possibly at other times.

The first action can set both date and time.

My example uses a local variable before setting the hub variable in the two actions so there is only one change in the log.

I am having time issues also. I don't understand what you mean by setting date time in two locations. Could you please explain.

Changing the date/time variable in two actions. First action is to set the date and the second action is to set the time.

I know you marked this as solved, but just in case my experience last year helps. I used to set my time variables just after midnight - and when the clock change occurred, my times would be off an hour. I then changed my time variable rule to run AFTER the clock change (I now run it at 4 AM), everything worked fine.

Brute force, here - I set my time variables at 12:05 am and 3:05 am. Redundant 363 days a year, safe as houses on the change days.