Adjusting Arch Linux time to local time

musale

Musale Martin

Posted on April 3, 2018

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.

Motivation

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 😉

💖 💪 🙅 🚩
musale
Musale Martin

Posted on April 3, 2018

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related