I've been trying to fix the time on my Ubuntu 16.04 host but can't get the time zone corrected. For some reason Ubuntu thinks Pacific/Auckland time zone is the same as UTC, and do not have a 12 hour offset. 'Pacific/Auckland' time zone is supposed to be UTC +12
sudo dpkg-reconfigure tzdata
Current default time zone: 'Pacific/Auckland' Local time is now: Tue Sep 26 09:08:37 UTC 2017. Universal Time is now: Tue Sep 26 09:08:37 UTC 2017.
Local time: Tue 2017-09-26 09:13:45 Pacific Universal time: Tue 2017-09-26 09:13:45 UTC RTC time: Tue 2017-09-26 09:13:45 Time zone: Pacific/Auckland (Pacific, +0000) Network time on: no NTP synchronized: no RTC in local TZ: yes
Warning: The system is configured to read the RTC time in the local time zone.
This mode can not be fully supported. It will create various problems
with time zone changes and daylight saving time adjustments. The RTC
time is never updated, it relies on external facilities to maintain it.
If at all possible, use RTC in UTC by calling
'timedatectl set-local-rtc 0'.
Can someone tell me how to fix this?
Just did a
sudo ntpdate nz.pool.ntp.org
25 Sep 22:38:17 ntpdate: step time server 18.104.22.168 offset -43211.035177 sec
Mon Sep 25 22:49:05 Pacific 2017
But the current time is 11:49am.