If you are using a system with dual boot (windows + ubuntu) you can experience a painful bug. Ubuntu, and other unix system, uses a different way to display the time to the user. A quick fix could be install the service timesyncd that provide an internet sync with the proper time in your timezone.
How to
Update your system
apt-get update -y
Check the time
timedatectl
# Local time: mer 2021-04-21 16:13:28 CEST
# Universal time: mer 2021-04-21 14:13:28 UTC
# RTC time: mer 2021-04-21 14:13:28
# Time zone: Europe/Rome (CEST, +0200)
# System clock synchronized: yes
# NTP service: active
# RTC in local TZ: no
Check the service timesyncd status
systemctl status systemd-timesyncd.service
If is not running
systemctl start systemd-timesyncd.service
To enable at startup
systemctl enable systemd-timesyncd.service
More info on: https://www.atlantic.net/vps-hosting/how-to-set-up-time-synchronization-with-ntp-on-ubuntu-18-04
0 Comments