The officially official Devuan Forum!

You are not logged in.

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

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

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: 1,530  
Website

Re: change timezone [solved]

You should probably use the provided abstraction instead:

# dpkg-reconfigure tzdata

This isn't Arch wink


Black Lives Matter

Offline

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

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

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

Board footer