Manjaro Linux 修正日期時間為本地時間

  早期在使用 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 的時間。

Once settings are complete,RTC time 即為 Local time 的時間

 

【參考連結】

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.