|
|

楼主 |
发表于 2026-2-9 22:18:34
|
显示全部楼层
Ubuntu 24.04 修改时区:
timedatectl set-ntp true
timedatectl show
现在时区时间
timedatectl status
本地和格林威治时间,以及本机硬件时间
timedatectl set-local-rtc 1
RTC in local TZ: yes
Warning: The system is configured to read the RTC time in the local time zone.
This mode cannot 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'. |
|