You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My problem occurs in both OH3.4.2 and the current OH4 snapshot.
The time zone [Europe/Berlin] is set in my system. I have some DateTime Items which can be set via the UI's DateTimePicker. The items then contain values such as 2023-03-24T07:30:00+0100. This corresponds to the setting in winter time when I set the values via the UI.
On the day after the dst setting, all corresponding alarms / timers were then offset by 1 hour. I then have to reset every value of every affected item via the UI. Then the correct value for daylight saving time is in the item, e.g. 2023-03-28T07:30:00+0200. When I try to script the times into a ZonedDateTime format, such as "2023-03-38T07:30:00+0200 [Europe/Berlin], into the items, I get a warning "Could not parse... " and the value does not change.
I think OH should handle the summer/winter time changes based on the time zone specified in the system itself and adjust or take into account the values of the items accordingly. In my opinion, if you add the time zone to a variable in a script, it works as desired, but not with items.
My problem occurs in both OH3.4.2 and the current OH4 snapshot.
The time zone [Europe/Berlin] is set in my system. I have some DateTime Items which can be set via the UI's DateTimePicker. The items then contain values such as 2023-03-24T07:30:00+0100. This corresponds to the setting in winter time when I set the values via the UI.
On the day after the dst setting, all corresponding alarms / timers were then offset by 1 hour. I then have to reset every value of every affected item via the UI. Then the correct value for daylight saving time is in the item, e.g. 2023-03-28T07:30:00+0200. When I try to script the times into a ZonedDateTime format, such as "2023-03-38T07:30:00+0200 [Europe/Berlin], into the items, I get a warning "Could not parse... " and the value does not change.
Here is the link to the OH forum.
I think OH should handle the summer/winter time changes based on the time zone specified in the system itself and adjust or take into account the values of the items accordingly. In my opinion, if you add the time zone to a variable in a script, it works as desired, but not with items.
The text was updated successfully, but these errors were encountered: