I realize that this is a common problem, but I can not find the solution to my problem.
Live in "America / Chicago (CST, -0600)" but ubuntu shows the UTC time.
It's 4 pm local time here:
$ timedatectl Local time: Thu. 2018-11-22 16:11:47 CST Universal time: Thu. 2018-11-22 22:11:47 UTC RTC time: Thu 2018-11-22 22:11:47 Time zone: America / Chicago (CST, -0600) Synchronized system clock: yes active systemd-timesyncd.service: yes RTC in local TZ: no
So TimeDateCtl knows the local time, but the Date command shows me UTC
$ date Thu 22nd November 22:15:54 Chicago 2018
I have made sure that the BIOS time is UTC, and my service has started, just bad.
● systemd-timesyncd.service - Network time synchronization Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor default: enabled) Active: active (in execution) from Thu 2018-11-22 22:07:07 Chicago; 9min ago Docs: man: systemd-timesyncd.service (8) Main PID: 1360 (systemd-timesyn) Status: "Synchronized with time server 188.8.131.52:123 (ntp.ubuntu.com)". Tasks: 2 (limit: 4915) CGroup: /system.slice/systemd-timesyncd.service └─1360 / lib / systemd / systemd-timesyncd
What else do I try? I put it in local time and came back, I restarted all the services that I can find.
Edit, I do not see a problem here either:
sudo hwclock –debug
hwclock of util-linux 2.31.1 System time: 1542925579.769423 Trying to open: / dev / rtc0 Using the rtc interface to the clock. Assuming that the hardware clock is maintained in UTC time. Waiting for the clock ticking ... ... I have a clock tick Time read from the hardware clock: 2018/11/22 22:26:20 Clock time: 2018/11/22 22:26:20 = 1542925580 seconds since 1969 Time since the last adjustment is 1542925580 seconds. The calculated deviation of the hardware clock is 0.000000 seconds 2018-11-22 22: 26: 19.764979 + 0000