DEV Community

Musale Martin
Musale Martin

Posted on

Adjusting Arch Linux time to local time

After updating my system, I found out that the system time being displayed was 1 hour ahead. In fact, I thought I was late for lunch only to realize that the clock was one hour ahead.

Looking through the internet, I came across many solutions that didn't work. However, this proved to work. After checking the timedatectl status:

$ timedatectl status
$ Local time: Tue 2018-04-03 15:02:23
  Universal time: Tue 2018-04-03 12:02:23 UTC
  RTC time: Tue 2018-04-03 12:02:23
  Time zone: Africa/Nairobi (EAT, +0300)
  System clock synchronized: no
  systemd-timesyncd.service active: no
  RTC in local TZ: no

Combing around, the simple fix was to run:

$ timedatectl set-ntp true

Boom! On the next clock tick, the time adjusted correctly.


You might face this issue if you update your Arch Linux to the latest release so in case you do, don't break a sweat 😉

Top comments (2)

gruberb profile image
Bastian Gruber

This was great Musale!! I looked for a solution for way too long!

supermavster profile image
Miguel Ángel

Jaja so easy, thanks!