有没有大佬可以帮忙看一下,为什么我把时区改对了,用date命令还是显示的edt时间,试了各种办法还是没用
用date命令显示如下:
2023年 05月 16日 星期二 23:30:56 EDT
用ll /etc/localtime显示如下
lrwxrwxrwx 1 root root 33 5月 16 22:45 /etc/localtime -> /usr/share/zoneinfo/Asia/Shanghai
用 timedatectl status显示如下
Warning: Ignoring the TZ variable. Reading the system's time zone setting only.
Local time: 三 2023-05-17 11:32:24 CST
Universal time: 三 2023-05-17 03:32:24 UTC
RTC time: 三 2023-05-17 03:32:24
Time zone: Asia/Shanghai (CST, +0800)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: n/a
也尝试了systemctl restart chronyd, 没有报错,但还是没用,真的快崩溃了,百度搜了没有一个是和我这样的情况···
用date命令显示如下:
2023年 05月 16日 星期二 23:30:56 EDT
用ll /etc/localtime显示如下
lrwxrwxrwx 1 root root 33 5月 16 22:45 /etc/localtime -> /usr/share/zoneinfo/Asia/Shanghai
用 timedatectl status显示如下
Warning: Ignoring the TZ variable. Reading the system's time zone setting only.
Local time: 三 2023-05-17 11:32:24 CST
Universal time: 三 2023-05-17 03:32:24 UTC
RTC time: 三 2023-05-17 03:32:24
Time zone: Asia/Shanghai (CST, +0800)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: n/a
也尝试了systemctl restart chronyd, 没有报错,但还是没用,真的快崩溃了,百度搜了没有一个是和我这样的情况···