Been having fun getting date, time, time zones sorted out for IoT RPi's
The IoT RPi temperature loggers read and log i2c temperature sensors with python code + python-smbus lib.
They are on a 10.x.x.x device network behind a firewall.
bootsync.sh calls my run.sh script after sleep of 60 secs for network to do it's stuff.
run.sh contains line - sudo ntpdate "local timeserver"
This updates time/date on power up from our local time server.
Tried ntpd -q etc but it does not work as well as ntpdate x.x.x.x
Now date is 2014 etc and not 1970 etc.
But timezone was wrong.
Tried the boot command.txt, tz=GMT+10 (Australia/Brisbane) but it subtracted 10hrs from the network time.
Everything worked when bootcode was tz=GMT-10
date now reports correct local time except it says GMT, not GMT+10
Tried noutc , tz=UTC+10, tz=Australia/Brisbane (tzdata.tcz needed?) and other combinations.
Not sure exactly where I should be setting tz info.