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
28 views

Some recurring Lightning entries are off by an hour next week

I just opened my calendar for a few weeks from now (Oct 30 - Nov 5), and some (but not all) of my recurring meetings from my Outlook calendar are off by an hour. My guess is that it has something to ...
Jeremy's user avatar
  • 496
1 vote
1 answer
309 views

Why Cronjobs Run According to UTC Time?

I am in Singapore and the server (Ubuntu 22.04 EC2 instance) is set according to the my local timezone (UTC+8H), at least so the date command tells me. $ date Wed Sep 20 09:07:42 +08 2023 Is this a ...
Della's user avatar
  • 505
0 votes
0 answers
33 views

What organization(s) manage the /etc/ssh/sshd_config file?

I've looked on several systems and seen these lines 111 # Allow client to pass locale environment variables 112 AcceptEnv LANG LC_* in the /etc/ssh/sshd_config file. I'd like to get this ...
Carl Ponder's user avatar
0 votes
0 answers
67 views

Time incorrect after suspending

Before I close the lid of the Ubuntu 23.04 laptop, for example the time is 12:34. When I open the lid, the time becomes X hours faster than the correct time. My timezone is UTC+X and I ran timedatectl ...
sudoer's user avatar
  • 100
0 votes
0 answers
142 views

How do you prevent openvpn clients from changing the system clock?

I'm using state based routing using iptables and a single user on a shared machine sometimes uses a VPN to get resources not available in our physical location. However, this is very annoying because, ...
Rusty Weber's user avatar
1 vote
2 answers
2k views

Mexico NTP (no more time changes since 2023) and my NTP server

I have a NTP server (Ubuntu) that actually have a Time Zone of America/Mexico_City, until 2022 we have had 2 time changes a year, most Americans spring forward (turn clocks ahead and lose an hour) on ...
SOV's user avatar
  • 13
1 vote
0 answers
303 views

Ubuntu 22.04 Auto Timezone is wrong

My location service setting is on, and I can get my correct location on Google Maps. But when I turn on auto timezone, it will set the timezone from PST to MST, and I am not even near any MST region. ...
Zitao Qiu's user avatar
3 votes
2 answers
308 views

Run cronjobs in different timezones

I have some cronjobs that I want to run. I want two of my scripts to run in UTC and the rest in CET. I have tried with cron_tz but it does not seem to work.
needHelpToCode's user avatar
0 votes
1 answer
812 views

Set MySQL default-time-zone to Europe/Berlin results to MySQL crash

I'm running a VPS with Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0 x86_64) and MySQL 5.7.40. Until now I always took the following steps to setup the right time zone for MySQL on a new server: First: sudo ...
David's user avatar
  • 153
2 votes
0 answers
2k views

Ubuntu 20.04 Wrong UTC time

On my Ubuntu server, the time should be UTC+3, but the UTC time zone is 3 hours ahead, and whenever I enter my own time zone, date showing 3+3 6 hours ahead in total. So the UTC timezone is showing ...
Talha's user avatar
  • 21
0 votes
1 answer
46 views

Where are time zone zic source files managed?

There are numerous errors in the historical transitions in /usr/share/zoneinfo/America/Asuncion tz file. Transitions are incorrectly computed from around 2006 forward through 2038 as happening in ...
Steger's user avatar
  • 101
0 votes
0 answers
27 views

where do I go to report an issue with "Date & Time"? [duplicate]

I recently had to change time zone on my computer. I'm in Solomon Islands, where the capital city is Honiara. I selected "Pacific" as the "Region", and searched the "City"...
manebule's user avatar
0 votes
0 answers
163 views

Setting timezone Interactively in installation via subiquity

Is there a way to select timezone interactively in installation via subiquity? I'm aware of 'interactive-sections' under which we can set options to select locale and keyboard layouts during setup. ...
unnikrishnan r's user avatar
0 votes
0 answers
576 views

Ubuntu 22 Display localtime instead of universal time

I want to display local timezone instead of Universal time in Ubuntu 22.04.1 LTS. It also displays same UTC +00 in all regional timezone. I did set time timezone manually nothing works. sudo ...
Sujan's user avatar
  • 1
0 votes
1 answer
2k 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." ...
MRSchwob's user avatar
0 votes
0 answers
599 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" ...
rh4games's user avatar
  • 101
5 votes
1 answer
10k 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 ...
J. Scott Elblein's user avatar
1 vote
0 answers
266 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 ...
Organic Marble's user avatar
0 votes
1 answer
534 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:...
islandmonkey's user avatar
1 vote
0 answers
63 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 ...
lofidevops's user avatar
  • 20.8k
-2 votes
1 answer
81 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
paymex's user avatar
  • 1
-2 votes
1 answer
2k 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 ...
Praveen K's user avatar
3 votes
1 answer
1k 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 ...
Mithun Sreedharan's user avatar
2 votes
1 answer
130 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 ...
Gqqnbig's user avatar
  • 689
0 votes
0 answers
47 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 ...
Broadsworde's user avatar
  • 4,122
33 votes
2 answers
89k 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-...
mahmood's user avatar
  • 1,875
1 vote
1 answer
365 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 ...
user938363's user avatar
1 vote
1 answer
2k 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 ...
mahmood's user avatar
  • 1,875
1 vote
0 answers
532 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. ...
xpt's user avatar
  • 1,035
2 votes
1 answer
609 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 ...
brasoares's user avatar
  • 141
2 votes
0 answers
528 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 ...
Mike Young's user avatar
5 votes
1 answer
9k 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?
VidathD's user avatar
  • 2,694
0 votes
1 answer
1k 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.
Abdullah Sheriff's user avatar
0 votes
0 answers
1k 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 ...
john cs's user avatar
  • 101
1 vote
0 answers
191 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 ...
fourough gharbalchi's user avatar
2 votes
3 answers
16k 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/...
AATHITH RAJENDRAN's user avatar
10 votes
2 answers
29k 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 ...
GabrieleMartini's user avatar
10 votes
1 answer
65k 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 ...
GabrieleMartini's user avatar
1 vote
1 answer
123 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:...
Amanda's user avatar
  • 9,333
0 votes
1 answer
354 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:...
dBags's user avatar
  • 111
3 votes
2 answers
2k 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 ...
EdK's user avatar
  • 33
3 votes
1 answer
2k 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/...
Kirk Bocek's user avatar
1 vote
1 answer
173 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. ...
lonix's user avatar
  • 2,438
1 vote
1 answer
3k 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, ...
flamingo_stark's user avatar
0 votes
1 answer
1k 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 ...
notAnExpert's user avatar
1 vote
0 answers
7k 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 ...
Django's user avatar
  • 111
4 votes
1 answer
3k 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> ...
ironcito's user avatar
  • 191
0 votes
1 answer
751 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-...
gmantoha's user avatar
1 vote
0 answers
670 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 ...
JarenB's user avatar
  • 11
0 votes
2 answers
2k 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 ...
Schparky's user avatar
  • 101