When I set the system time via
$ sudo date +%T -s “12:34:00”
and then reboot, the time i get displayed returns to the previous wrong time…
the time in the bios is ok, and i am set to the correct time zone, so i guess i am missing something else here?
it all started after my bios battery was empty and needed to be replaced…
You can setup time in
Sounds to me like your locale is messed up. Have a look here:
Locale errors are not always obvious and some applications simply stop working without any hints at all - e.g. Gnome Terminal is very sensitive to incorrect configuration of locale.
As root edit the file /etc/locale.gen
Enable the needed locales - including en_US.UTF-8 UTF-8 as fallback.
Rebuild the locale database using the locale-gen script
The Calamares installer adds the locales chosen to the end of /etc/locale.gen so check the bottom of the file …
thank you both I will try your suggestions!
Do you have a dual boot system Linux/Windows ?
That depends on what you mean with wrong time - are you seeing 12-hour format or 24-hour format and which one are you expecting?
Or is the clock outright wrong e.g. 10:34 when it should be 12:34?
Does your /etc/localtime symlink to the correct timezone?
$ ls -l /etc/localtime
lrwxrwxrwx 1 root root 37 12 mar 13:23 /etc/localtime -> /usr/share/zoneinfo/Europe/Copenhagen
Did you enable the ntp client
systemctl enable --now systemd-timesyncd
Dualbooting windows requires special care