Schedule dashboard shows time with +2 hours difference

  • Platform information:
    • Hardware: x86_64 /8GB RAM/128 GB storage
    • OS: openHabian - 12.5
    • Java Runtime Environment: openjdk-17-jre-headless:arm64 - 17.0.11+9-1~deb12u1
    • openHAB version: openHAB 4.1.2
  • Issue of the topic: the schedule dashboard shows a +2 hour time difference to the configured time when the rule is scheduled
  • Please post configurations (if applicable):
    • Configured time zone on OS level
openhabian@sun:~ $ cat /etc/timezone 
Europe/Vienna
  • Configured time zone on UI: (GTM+1) Europe/Vienna

Here the screenshot for the dashboard of rule “Beschattung Gang runter” which shows scheduled time at 10:30.

But the rule is configured for 8:30

Make sure that in the file /etc/default/openhab the variable
EXTRA_JAVA_OPTS contains -Duser.timezone=Europe/Vienna

Adding -Duser.timezone=Europe/Vienna and restarting the openhab.service had no effect.

openhabian@sun:/var/log/openhab $ grep ^EXTRA_JAVA_OPTS /etc/default/openhab 
EXTRA_JAVA_OPTS="-Xms192m -Xmx768m -XX:+ExitOnOutOfMemoryError -Duser.timezone=Europe/Vienna"

My logs even show that I use the correct time zone.

openhabian@sun:/var/log/openhab $ head /var/log/openhab/openhab.log
2024-05-21 20:41:56.856 [INFO ] [org.openhab.core.Activator          ] - Starting openHAB 4.1.2 (build Release Build)
2024-05-21 20:41:58.318 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Time zone set to 'Europe/Vienna'.
2024-05-21 20:41:58.347 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to 'x,y'.
2024-05-21 20:41:58.352 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to 'en_AT'.
2024-05-21 20:41:58.355 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Measurement system set to 'SI'.
2024-05-21 20:42:21.679 [INFO ] [.core.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2024-05-21 20:42:29.513 [INFO ] [e.automation.internal.RuleEngineImpl] - Rule engine started.

My OS shows the correct time zone as well

openhabian@sun:/var/log/openhab $ timedatectl 
               Local time: Tue 2024-05-21 20:51:32 CEST
           Universal time: Tue 2024-05-21 18:51:32 UTC
                 RTC time: n/a
                Time zone: Europe/Vienna (CEST, +0200)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

Are the UI Regional settings correct?