Questions tagged [timezone]

Time zones are areas on Earth that have the same time. Use this tag if you have problems setting up your `timezone` in Ubuntu.

Filter by
Sorted by
Tagged with
0 votes
1 answer
91 views

I manually changed the time in the GUI. Now, my system clock is not synchronized. How can I fix this?

As the title says, my system clock is not synchronized. This is problematic since I need to update my software, and I continue to receive errors such as "Release file ... is not valid yet." ...
user avatar
0 votes
0 answers
98 views

timedatectl not returning the right info

I have 2 servers running the exact same Ubuntu and kernel versions. Both have identical HW and have been booted with the same USB drive. user@server1:~$ cat /etc/os-release NAME="Ubuntu" ...
user avatar
  • 101
1 vote
1 answer
530 views

Timezone getting set wrong in WSL?

Running Ubuntu in WSL2 my clock is getting screwed up somehow. And when I try to set it again using: sudo dpkg-reconfigure tzdata It still gets set about an hour behind the real time. The screenshot ...
user avatar
0 votes
0 answers
111 views

Ubuntu 21.10 becomes unstable/unusable and requires hard-boot when trying to change time-zone in Thunderbird 91.3

I am running the latest Thunderbird 91.3 on my Ubuntu 21.10 installation. It works like a charm for all my gmail/live accounts and calendars. However in past three weeks, I had to change my time zones ...
user avatar
  • 11
0 votes
0 answers
193 views

Ubuntu messes up with Windows clock [duplicate]

I run Ubuntu Mate 20.04 LTS along with Windows-10 on a dual boot desktop. My local time zone is USA PST, (which is GMT-8:00). The problem happens when I switch to Windows. Suddenly, I discover that ...
user avatar
0 votes
0 answers
36 views

Non-stop back-and-forth time zone update

Automatic time zone update works but every few seconds it updates either to Rome or to Zurich. Every time a system notification pops up. How to calm it down? == timedatectl ; lsb_release -a gives ...
user avatar
  • 141
1 vote
0 answers
132 views

20.04 MATE desktop - clock in panel occasionally shows UTC

Testing a newly upgraded Ubuntu 20.04 system with the MATE desktop installed. The panel clock normally shows the desired US Central Time. But every now and then it sneakily reverts to UTC - This ...
user avatar
0 votes
1 answer
140 views

zone.tab file has disappeared causing the timezone to default to UTC

For whatever reason, the time on my Xubuntu 21.04 system has gone all awry and has defaulted to UTC. I cannot change the time as the time-admin program refuses to load with this error: ** (time-admin:...
user avatar
1 vote
0 answers
24 views

Can I display UTC offset rather than local offset in the desktop calendar applet?

I have configured some world clocks in the Gnome Clocks application, and they appear on the Ubuntu desktop calendar as expected, see below. (I don't know the correct name for the "desktop ...
user avatar
  • 19.5k
0 votes
0 answers
27 views

Something is wrong with timezone on mariadb

I am having an issue about the time displayed on a table. In mariadb, I created a table that has id, name ,gender, created_at and updated_at. The table looks like this +----+--------+--------+------+--...
user avatar
  • 1
-2 votes
1 answer
35 views

Golang: timestamp add not working

the task is this, I need to add 5 minutes to the timestamp, but whatever I do, the time does not change, what am I doing wrong? Example: https://play.golang.org/p/AavonfZk2bn
user avatar
  • 1
-2 votes
1 answer
627 views

How to change the UTC time in Ubuntu [closed]

How to change my UTC time as similar to my local time? The local time and RTC time displays the correct time, but UTC time is wrong and my DB and code chooses the UTC time. So how to change the ...
user avatar
1 vote
1 answer
390 views

How to have Clock widgets with multiple timezones

I need to have time in multiple timezone displayed either on the top-bar or as a widget on secondary monitor I'm currently using Gnome clock which requires as click on top bar and times on different ...
user avatar
2 votes
1 answer
115 views

Display accurate timezone

$ date Tue 25 May 2021 12:31:56 PM CST $ systemctl list-timers NEXT LEFT LAST PASSED UNIT ACTIVATES Tue 2021-05-25 ...
user avatar
  • 629
0 votes
0 answers
41 views

Time Zone changed incorrectly on random boots

A few days ago my system time zone started to be changed **incorrectly on random boots, from: BST (London, United Kingdom) to GMT (Accra, Ghana) I can correct this with: $ timedatectl set-timezone ...
user avatar
  • 3,198
8 votes
2 answers
29k views

NTP not supported

In Ubuntu 20.04, I see that I can not change the set-ntp due to the following error. # timedatectl set-ntp true Failed to set ntp: NTP not supported Any way to fix that? UPDATE: It seems that systemd-...
user avatar
  • 1,589
0 votes
1 answer
111 views

PT/PST was not taken on 20.04 as valid timezone

Used the following command to change timezone on 20.04: sudo timedatctl set-timezone PST //PT has same error But receiving error of invalid time zone or missing (strange!). Did the following: sudo ...
user avatar
0 votes
1 answer
623 views

Incorrect time shown in 20.04

I see that the time in my Ubuntu 20.04 (12:40 PM) is different from my wall clock and also the www.timeanddate.com web site (12:20 PM). As you can see int he picture, the time zones are correct. How ...
user avatar
  • 1,589
1 vote
0 answers
449 views

crontab with per-user timezones

Following up on How do you set the timezone for crontab?, where CentOS 7 distro with cronie 1.4 has CRON_TZ environment variable, but Ubuntu 20.04 LTS' crontab(5) manpage still doesn't have CRON_TZ. ...
user avatar
  • 761
2 votes
1 answer
356 views

How do I solve Internet Time Sync Not Happening?

Searched through some places and did a lot of stuff. I have tried Unable to start ntpd.service, How do I set time and date from the Internet? and also tried chrony. I saw more places, as far as I ...
user avatar
  • 41
2 votes
0 answers
314 views

How can I change the timezone on a read only operating system protected by overlayroot?

I have an Ubuntu 16.04 installation mounted using overlayroot as a read only partition. I also have a read write partition on the same drive. I need to be able to change the timezone setting of the PC ...
user avatar
4 votes
1 answer
5k views

Time change in Windows after booting to Ubuntu [duplicate]

Whenever I boot to Ubuntu and boot into Windows again my time changes to GMT. Why is this and how can I fix this?
user avatar
  • 2,331
0 votes
1 answer
323 views

Installed PHP I need to Get write the timezone

I have a problem regarding the timezone in Ubuntu. It's asking for the timezone and I don't know what to do.
user avatar
0 votes
0 answers
466 views

Time is behind by an hour even though TZ is correctly set

I have an Ubuntu 18 server VM running in ESXI. The timezone is set correctly but the time is still behind by an hour. root@devserver:~# timedatectl Local time: Thu 2020-03-19 ...
user avatar
  • 101
1 vote
0 answers
166 views

18.04 NVIDIA drivers repeatedly uninstalls in dual boot system after running Windows

I have a really weird situation on a dual boot (Windows 10 & Ubuntu 18.04) system. Sometimes when I make changes in Windows then return to Ubuntu, I find the graphic card (a Titan GTX) is ...
user avatar
2 votes
3 answers
7k views

Timezone Asia/Kolkata changed to PST

What I did: Ran this command: sudo cp /usr/share/zoneinfo/America/Los_Angeles /etc/localtime What happened: My local time changed to PST. Now I ran: sudo cp /usr/share/zoneinfo/Asia/Kolkata /etc/...
user avatar
8 votes
2 answers
18k views

timedatectl: Failed to create bus connection: No such file or directory

The scenario: I'm trying to set timezone on a docker container based on Ubuntu 18.04 docker image. Just pull the image, updated, and installed systemd > apt-get -y update > apt-get -y install ...
user avatar
6 votes
1 answer
37k views

timedatectl: command not found

The scenario: I'm trying to set timezone on a docker container based on Ubuntu 18.04 docker image. Just pull the image and updated > apt-get -y update The error: When run > timedatectl I ...
user avatar
1 vote
1 answer
68 views

Commandline tool to lookup current timezone? [duplicate]

I have my date and time settings set to use the "automatic time zone" and that is reflected in timedatectl: amanda@rajje:~$ timedatectl status Local time: Fri 2019-11-15 14:01:...
user avatar
  • 8,587
0 votes
1 answer
204 views

date command output format

I have just installed ubuntu server 19.10. When I enter the date command I get the following output Sun 10 Nov 2019 05:16:05 PM AEDT My old server running 18.04 gives this output Sun Nov 10 17:...
user avatar
  • 111
3 votes
1 answer
869 views

Timezone changes do not persist

I am running Ubuntu 18.04.3 and changes I make to the timezone do not persist. That is, I make the change and at some point within 5-20 minutes, the clock reverts to UTC time. I have updated the ...
user avatar
  • 33
2 votes
1 answer
1k views

Clock resets To UTC on Reboot

I've newly installed Ubuntu 18.04.3 on two hosts, desktop on one, server on another. The timezone on the server resets to UTC on each boot. # cat /etc/timezone America/Los_Angeles # ls -la /etc/...
user avatar
0 votes
1 answer
82 views

timedatectl without using named zone

The typical way to set the timezone is to use timedatectl, e.g.: sudo timedatectl set-timezone America/New_York So I can use a named zone, or UTC. But how do I set the zone without a name - e.g. ...
user avatar
  • 1,908
1 vote
1 answer
2k views

Ubuntu 18.04 Desktop - date and time synchronization issue

I did a clean install of Ubuntu 18.04 LTS on my laptop a couple of days back. During installation, I chose the timezone to be my local time zone i.e., Kolkata, India (Indian Standard Time). However, ...
user avatar
0 votes
1 answer
582 views

xfce: How to get bottom panel (back). How to update time in the upper right corner

Somehow the bottom panel isn't switched on by default. I am talking about the one you see in following picture (mouse cursor is hovering right above): I've switched the time zone. However, the time ...
user avatar
1 vote
0 answers
4k views

Enable/disable Daylight Savings Time through command line

Note: By "Disable" daylight savings time, I mean for the system clock to ignore any time changes for daylight savings time (ie, if DST is disabled, then the clock will not "spring forward" an hour in ...
user avatar
  • 111
4 votes
1 answer
2k views

Add/change timezone on Ubuntu Minimal 18.04

I have an instance running Ubuntu Minimal 18.04 LTS on Google Cloud. I want to change the system timezone, but timedatectl list-timezones shows only UTC, so timedatectl set-timezone <timezone> ...
user avatar
  • 181
0 votes
1 answer
630 views

Ubuntu Core 16 - How to change time zone persistent?

to set the time zone I tried following: auser@localhost:~$ sudo timedatectl Local time: Fri 2019-05-17 06:46:14 UTC Universal time: Fri 2019-05-17 06:46:14 UTC RTC time: Fri 2019-05-...
user avatar
1 vote
0 answers
460 views

Time Zone shows (null) with UTC+0 offsets on all timezones

I'm new to Linux and I'm having an issue with my clock showing the wrong time. When I pull up the Date & Time setting, my Time Zone shows (null) (Los Angeles, United States) If I turn off ...
user avatar
  • 11
0 votes
2 answers
1k views

Timezone can't be changed

I am trying to fix an error in my timezone config on Ubuntu 18.04. When I go to the Date & Time control panel, no matter where on the map I click, it always says MDT (UTC-06). Also did the ...
user avatar
  • 101
1 vote
1 answer
343 views

Display dates in command output in different timezone

I have 27 systems those are connected to a server. In that, some systems are in different time zones. So, when a person turned on the system for the first time in the day, I need to find the login ...
user avatar
  • 85
3 votes
0 answers
746 views

How to make Kubuntu display date and time in English?

I am using Kubuntu 18.04 and it seems that despite having my whole system being setup in English, the date and time display (like days) is sometimes displayed in French, it seems related to the ...
user avatar
  • 429
1 vote
0 answers
706 views

Time Zones: TZ vs tzselect vs timedatectl

I have a software package that (I am told) has to read the TZ environment variable, and if that variable is not set it can cause dates/times to be incorrect. Not sure if it is doing its own offset ...
user avatar
  • 350
1 vote
0 answers
140 views

Problems installing ubuntu 18.04

I have an USB Ubuntu 18.04 bootable and trying to install Ubuntu on my laptop. I have try several ways of installation but always getting errors during installation. During the installation, so many ...
user avatar
  • 11
1 vote
1 answer
489 views

Automatic timezone in Xubuntu (xfce + geoclue)

Is there any way to set system timezone automatically in Xubuntu 18.04? I see that geoclue-2.0 is installed in my system and seem to be properly configured, but there is no "Automatic" option in Date/...
user avatar
2 votes
0 answers
88 views

Why it is impossible to type location in Ubuntu's "Time & Date" in Cyrillic script?

Why is it impossible to type (or find) the Russian city's name (e.g.: Moscow, Yekaterinburg) in All Settings > Time & Date > Clock > Choose Locations of Ubuntu 14.04.5 using Cyrillic ...
user avatar
0 votes
1 answer
97 views

Timezones Problems

I have an issue with my time zone, when i use this command i can see the date: $ timedatectl and it shows me the next message: Local time: Wed 2018-06-06 11:02:25 -04 Universal time: Wed 2018-06-...
user avatar
1 vote
0 answers
58 views

Is there any possible way I can prompt the user to select a timezone just like in plain Ubuntu in a customized ISO?

Currently I provide a modified ISO to users and it has many configurations in ks.cfg for configuration post installation of OS. The users are in different timezones. Till now there is no manual ...
user avatar
  • 11
1 vote
1 answer
3k views

Does cron automatically adjust to a timezone change?

I added a cron job with crontab -e. Then, I changed the timezone. However, it seems as if the cron job is still firing in the old timezone. Do I need to restart it cron? (e.g. service cron reload) ...
user avatar
  • 121
1 vote
1 answer
5k views

How to change system timezone permanently?

"dpkg-reconfigure tzdata" does the job perfectly. But I require a method that doesn't include a text based gui. I have searched and seen some ways which require using "tzselect" and then export "TZ" ...
user avatar