openhab / openhab-qnap-qpkg

openHAB Packages for QNAP NAS systems
Eclipse Public License 2.0
77 stars 21 forks source link

timezone is not set #8

Closed Andy1402 closed 7 years ago

Andy1402 commented 7 years ago

Hi. I'm from Germany and we have winter time, now. But in OpenHAB there is shown the old summer time. NTP ist working well and my QNAP NAS is working with the correct winter time, too.

I found the solution for this. It is necessary to add the following line to openHAB.sh: export TZ=/sbin/getcfg System "Time Zone" -f /etc/config/uLinux.conf

It's working fine in my case.

Regards. Andy

thopiekar commented 7 years ago

Me, too. I commented on your PR. Thanks again!