Hi!
I have a rule that runs at 5 minutes after midnight and uses now.getdayofweek. It returns the prior day versus running it at 8am.
My timezone is set for America/New_York in raspi-config and Eastern/US in paper-UI.
[09:25:52] openhabian@pi-openhab:~$ sudo timedatectl
[sudo] password for openhabian:
Local time: Mon 2020-03-16 09:26:01 EDT
Universal time: Mon 2020-03-16 13:26:01 UTC
RTC time: n/a
Time zone: America/New_York (EDT, -0400)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
time zone info is commented out in /etc/default/openhab2
What am I missing?