Subject: How to change RTC from UTC to local?

From: Ralf Mardorf <[email-masked]>
Date: Thu, 01 Jun 2023 10:14:44 +0200

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

---

From: David Demelier <[email-masked]>
Date: Thu, 01 Jun 2023 11:44:36 +0200

Hi,

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

HTH

-- 
David

---

From: Ralf Mardorf <[email-masked]>
Date: Thu, 01 Jun 2023 17:04:20 +0200

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