Does anyone know how to change the timezone displayed by uname -a
?
My current output is from uname -a
is:
Linux Paarthurnax 5.4.51-2-MANJARO-ARM #1 SMP PREEMPT Tue Jul 28 11:19:11 CDT 2020 aarch64 GNU/Linux
I’d like it to be in UTC.
My output from timedatectl
is:
Local time: Mon 2020-08-17 09:23:49 BST
Universal time: Mon 2020-08-17 08:23:49 UTC
RTC time: n/a
Time zone: Europe/London (BST, +0100)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
There is something off with your settings - judging by your outputs
Tue Jul 28 11:19:11 CDT 2020
Local time: Mon 2020-08-17 09:23:49 BST
Universal time: Mon 2020-08-17 08:23:49 UTC
Verify that you have correctly linked the correct timezone in /etc
Example
➜ ~ ls -l /etc/localtime
lrwxrwxrwx 1 root root 37 13 aug 16:58 /etc/localtime -> /usr/share/zoneinfo/Europe/Copenhagen
1 Like
Hi,
linux-aarhus:
ls -l /etc/localtime
… gives:
lrwxrwxrwx 1 root root 33 Aug 14 21:38 /etc/localtime -> /usr/share/zoneinfo/Europe/London
- I didn’t think
The date you see in the uname output is the kernel build date - there is nothing you can do to change that.
2 Likes
Ah. So it’s locked to the timezone it was built in?
This is no timezone - it is a timestamp.
3 Likes
Makes sense now. Thank you for your help.
system
Closed
September 24, 2020, 7:25am
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.