~alpine/users

2 2

How to change RTC from UTC to local?

Details
Message ID
<62faf8aa2f258164398f44c0b932d0692d6a087b.camel@riseup.net>
DKIM signature
missing
Download raw message
Hi,

on my machines RTC is always in local time. How can I make Alpine set up
to interpret it as local time?

To avoid discussions: RTC in local time has got no disadvantages, but it
has got an advantage for usage on my machines. FWIW it has got nothing
to do with Windows, no Windows is installed on bare metal at all.

Regards,
Ralf
David Demelier <markand@malikania.fr>
Details
Message ID
<1310ed0641813d27e663ca6f7b2b89e73897f235.camel@malikania.fr>
In-Reply-To
<62faf8aa2f258164398f44c0b932d0692d6a087b.camel@riseup.net> (view parent)
DKIM signature
missing
Download raw message
On Thu, 2023-06-01 at 10:14 +0200, Ralf Mardorf wrote:
> Hi,
> 
> on my machines RTC is always in local time. How can I make Alpine set
> up
> to interpret it as local time?
> 
> To avoid discussions: RTC in local time has got no disadvantages, but
> it
> has got an advantage for usage on my machines. FWIW it has got
> nothing
> to do with Windows, no Windows is installed on bare metal at all.
> 
> Regards,
> Ralf

Hi,

Please set clock="local" in /etc/conf.d/hwclock. You may need to use
hwclock --systohc manually one time.

HTH

-- 
David

[solved] How to change RTC from UTC to local?

Details
Message ID
<d204a2172bf1f4e50f9cf4e4d88c0c41bdf3959d.camel@riseup.net>
In-Reply-To
<1310ed0641813d27e663ca6f7b2b89e73897f235.camel@malikania.fr> (view parent)
DKIM signature
missing
Download raw message
On Thu, 2023-06-01 at 11:44 +0200, David Demelier wrote:
> Please set clock="local" in /etc/conf.d/hwclock.

Thank you David,

that's it.

> You may need to use hwclock --systohc manually one time.

Since I edited Alpine's /etc/conf.d/hwclock by running an Arch session,
I only needed to boot Alpine.

Regards,
Ralf
Reply to thread Export thread (mbox)