You are not logged in.

#1 2022-02-28 07:25:26

The_Prince
New Member
From: Chile
Registered: 2022-02-28
Posts: 2

[SOLVED] The clock time at Bunsenlabs is 3 hours ahead of the official

Good morning, I introduce myself briefly. I am Ricardo from Chile.I am new to Bunsenlabs.

(I installed it a few days ago).

It seems to me a beautiful, fascinating operating system that has a lot of potential.
I have found some small problems that I have been solving but I do not know the issue of changing the system time and I do not understand how it can be changed and that is why I have registered here to solve the doubt.
I need to adjust the time of my system and if You can help me I will be very grateful.

Thank you very much in advance.
Have a beautiful evening.

Last edited by The_Prince (2022-02-28 20:07:47)

Offline

#2 2022-02-28 09:47:09

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: [SOLVED] The clock time at Bunsenlabs is 3 hours ahead of the official

Hi Ricardo, Welcome to bunsenlabs!

When installing, you are asked if you want to syncronize your clock with timeserver, using ntp. See https://wiki.debian.org/NTP and https://www.digitalocean.com/community/ … -debian-10.

If you choosed to sync clock, it should sync when computer starts up.

Is it a virtual machine (vm) or physical computer?
I have noticed problem with clock drifting if you let vm sleep.

You can sett correct date / time with commands:

sudo date --set yyyy:mm:dd 
sudo date --set h:m:s

See more info on https://wiki.debian.org/DateTime
Is the clock drifting or does it maybe shows UTC (Greenwich Meridian time)
You can get more info of your clock with command:

sudo hwclock --verbose --show

Last edited by rbh (2022-02-28 11:37:37)


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#3 2022-02-28 13:45:41

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,746

Re: [SOLVED] The clock time at Bunsenlabs is 3 hours ahead of the official

Also to check if timezone is set correctly:

 timedatectl | grep -i zone

Offline

#4 2022-02-28 15:30:34

deleted0
Guest

Re: [SOLVED] The clock time at Bunsenlabs is 3 hours ahead of the official

^ Systemd setups only. wink

8bit

#5 2022-02-28 17:24:23

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: [SOLVED] The clock time at Bunsenlabs is 3 hours ahead of the official

eight.bit.al wrote:

^ Systemd setups only. wink

No. From man timedatectl:

timedatectl may be used to show the current status of time synchronization services, for example systemd-timesyncd.service(8).

Note "for example".

I have not systemd-timesyncd.service, but "timedatectl status", returns:

$ LC_ALL=C timedatectl status
               Local time: Mon 2022-02-28 18:23:33 CET
           Universal time: Mon 2022-02-28 17:23:33 UTC
                 RTC time: Mon 2022-02-28 17:23:33
                Time zone: Europe/Stockholm (CET, +0100)
System clock synchronized: yes
              NTP service: n/a
          RTC in local TZ: no

// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#6 2022-02-28 17:40:48

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: [SOLVED] The clock time at Bunsenlabs is 3 hours ahead of the official

brontosaurusrex wrote:

Also to check if timezone is set correctly:

 timedatectl | grep -i zone

^ using two programs `timedatectl` and `grep` instead of just one.

2 ways to find out with one:

$ cat /etc/timezone
Europe/London

Or if you prefer the code & offset:

$ date +"%Z %z"
GMT +0000

@eight.bit.al ^ init agnostic

Obviously if your timezone differs from mine you'll get different output.

The_Prince wrote:

I am Ricardo from Chile.

So they should probably see:

$ cat /etc/timezone
America/Santiago

Though I suppose one of the other two available are also possibilities.

If it's wrong then open a terminal:

sudo dpkg-reconfigure tzdata

I think Picking America & then scrolling a long way down to Santiago will be correct (most of Chile).
Though you might want America > Punta_Arenas or concievably even Pacific > Easter (for Easter Island)

Last edited by Bearded_Blunder (2022-02-28 18:46:32)


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#7 2022-02-28 19:10:33

The_Prince
New Member
From: Chile
Registered: 2022-02-28
Posts: 2

Re: [SOLVED] The clock time at Bunsenlabs is 3 hours ahead of the official

Thank God I have fixed it. I have used only two commands and it was too easy to correct the time zone.

$ cat /etc/timezone

This command returned something like etc/UTC if I remember correctly. He was clearly wrong.
Then continue with the next command.

sudo dpkg-reconfigure tzdata

Select America/Santiago and problem solved.
Thank you all very much for your kind help and time.

Offline

#8 2022-02-28 19:13:48

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: [SOLVED] The clock time at Bunsenlabs is 3 hours ahead of the official

Glad to help.
If you could possibly edit your first post & put [SOLVED] at the start of the title, it saves the moderators some work.


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

Board footer

Powered by FluxBB