rm /etc/localtime
ln -s /usr/share/zoneinfo/PRC /etc/localtime

显示时间

root@pangu:~# timedatectl
               Local time: Tue 2019-07-16 15:39:20 CST
           Universal time: Tue 2019-07-16 07:39:20 UTC
                 RTC time: Sat 2000-01-01 00:40:47
                Time zone: PRC (CST, +0800)
System clock synchronized: no
              NTP service: active
          RTC in local TZ: no
作者:SteveChen  创建时间:2024-09-18 11:57
最后编辑:SteveChen  更新时间:2024-10-18 15:16