On Mon, 2023-07-17 at 12:20 +0100, Patrick O'Callaghan wrote:
My system hibernates and powers down at 1:30am, and is woken up by a
smart plug powering it on at 8am. This is working (touch wood) and
the
system verifiably wakes up at 8am. However the journal logs of the
resume event show 9am, even though once fully resumed the time is
correct. The difference would appear to be due to summer time,
currently in force in the UK.
The hardware clock is set to Universal time (shown by 'hwclock -u')
and
I assume the log entries at this point in the system resume are not
adjusting for timezone, hence the journal entries are incorrect.
Is this a known bug?
Not a bug, just user error (my own). Turns out my hardware clock was
set to local time, which is not recommended. The fix:
# timedatectl set-local-rtc 0
poc