The officially official Devuan Forum!

You are not logged in.

#1 2021-02-25 20:17:57

mclien
Member
Registered: 2020-02-29
Posts: 99  

change timezone [solved]

I messed up my timezone.
But I'm not totally sure how to fix it.
Is it "just" to set the correct link here:
ls -l /etc/localtime

EDIT:
Yes it is. Use

ln -sf /usr/share/zoneinfo/US/Central /etc/localtime

Example to set it to US Central "on the fly"

Last edited by mclien (2021-02-25 20:23:08)

Offline

#2 2021-02-25 20:40:08

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: change timezone [solved]

You should probably use the provided abstraction instead:

# dpkg-reconfigure tzdata

This isn't Arch wink


Brianna Ghey — Rest In Power

Offline

#3 2021-02-25 20:58:04

mclien
Member
Registered: 2020-02-29
Posts: 99  

Re: change timezone [solved]

Well, yes, perhaps. But nowadays most of the searches will give you the "timedateclt" solution.
And I find it quite interesting to finally "kinda by accident" found out how it is done internally.

Also: I was wondering what requires less typing ;-)

Btw: I must have messed up this while installing. (wonder where I missed the "Europe" path in installation.

Offline

#4 2021-12-31 08:13:45

kapqa
Member
Registered: 2019-01-02
Posts: 334  

Re: change timezone [solved]

problem here is that even with "dpkg-reconfigure tzdata" and the correct timezone (rome) the hour is one h behind.

Offline

Board footer