Manjaro Linux corrects date and time to local time

In the early days of using Ubuntu, I encountered that Ubuntu would set the BIOS time to UTC time.,This caused me to enter Windows,The time is wrong too。I recently reinstalled Manjaro and encountered the same situation.,Checked the information,The setting method is the same as before in 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 的時間

 

【參考連結】

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.