Re: System time/timezone, was Re: Maximum size .bash_aliases file
On Tue, Jun 18, 2024 at 4:05 AM <tomas@tuxteam.de> wrote:
> On Mon, Jun 17, 2024 at 11:54:03PM -0500, David Wright wrote:
> > [...]
> > $ date; timedatectl status
> > Mon Jun 17 23:51:43 CDT 2024
> > Local time: Tue 2024-06-18 04:51:43 UTC
> > Universal time: Tue 2024-06-18 04:51:43 UTC
> > RTC time: Tue 2024-06-18 04:51:43
> > Time zone: Etc/UTC (UTC, +0000)
> > System clock synchronized: yes
> > NTP service: active
> > RTC in local TZ: no
> > $
> >
> > I notice that man timedatectl says:
> >
> > set-timezone [TIMEZONE]
> > Set the system time zone to the specified value.
> > Available timezones can be listed with list-timezones.
> > If the RTC is configured to be in the local time, this
> > will also update the RTC time. This call will alter
> > the /etc/localtime symlink. See localtime(5) for more
> > information.
>
> I cringe a bit when I see that.
Yeah.. on Linux, it is recommended to keep the RTC clock in UTC.
Unless Windows has contaminated the machine. See
<https://wiki.debian.org/DateTime>.
Jeff
Reply to: