You are not logged in.

#1 2019-07-30 09:50:26

benjamin007
Member
Registered: 2019-07-24
Posts: 18

Timezone error | Wrong Timezone and time

In my Arch, after installing, I thought setting up time would only take less than an minute. But something Is wrong. I asked in few groups and they said it's annoying that the time zone isn't changing and so does the time accurately.
What I did so far.

1. unlink   /etc/localtime

2. ln -sf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime

3. timedatectl set-ntp 1

Still the timezone offset is showing +04 in date command. The time will be only correct if the zone offset is correct. I also checked /etc/localtime.  I can see it's +04 there. Where my timezone is GMT +5:30

Offline

#2 2019-07-30 10:04:01

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,718
Website

Re: Timezone error | Wrong Timezone and time

What's the output of

timedatectl
date +%z

?


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

Board footer

Powered by FluxBB