早期在使用 Ubuntu 时遇到 Ubuntu 会把 BIOS 时间设成 UTC 时间,这样导致我进 Windows 后,时间也错了。最近重装 Manjaro 又遇到一样的情况,查了一下资料,设置方法跟以前在 Ubuntu 时是一样的指令。
timedatectl status # 可以先用此指令查看原本 RTC in local TZ 是不是 no, # 以及 Local Time 的時間。
我在執行指令之前,只有 Local time 是正確的,Universal time 跟 RTC time 都是有時差八小時的時間

sudo timedatectl set-local-rtc 1 # 透過此指令將 RTC in local TZ 設為 yes, # 表示讓 RTC (Real Time Clock) 採用 Local Time 的時間。
设置完成后,RTC time 即為 Local time 的時間。

【参考链接】
- Lao Sen Chang Tan IT Help » 同步 Ubuntu 与 Windows 时间
- Manjaro配置准确时间(时间快8个小时) 2021-02-09 – 简书








留下回复