What's with Timezone

Greetings

All my logs show UTC timestamp. After doing the SSH found out that /etc/TZ file always remains null (zero bytes and nothing in it). Several scripts check the TZ file but I could not spend much time on it (having trouble with HSM100)

ntp updates the time back - any fixes/clues or is it a bad idea to change TZ
(BTW I am also missin the RTC /dev/rtc? :frowning: )

root@HomeControl:/tmp/log/cmh# date -s 02042345
Thu Feb 4 23:45:00 UTC 2010
root@HomeControl:/tmp/log/cmh# ps -ef |grep -i ntp
7851 root 1312 S /usr/sbin/ntpclient -i 60 -s -l -D -p 123 -h 0.openwr
15120 root 2360 S grep -i ntp
root@HomeControl:/tmp/log/cmh#
root@HomeControl:/tmp/log/cmh# date
Fri Feb 5 07:49:32 UTC 2010
Grrrr :slight_smile:

regards

Keeper
PS: Case I could not find answer I will dig deeeeeper and will do the summary

There is no RTC on this device and no battery to keep it running when off. So, the time needs to be updated on every boot.

As of TZ, you need to set it in Location → Timezone, then it will update /etc/TZ (mine has correct value)