]> err.no Git - util-linux/commit
rtcwake: fix UTC time usage
authorDavid Brownell <david-b@pacbell.net>
Sun, 3 Feb 2008 23:34:35 +0000 (15:34 -0800)
committerKarel Zak <kzak@redhat.com>
Fri, 8 Feb 2008 00:33:39 +0000 (01:33 +0100)
commit1b7c164c494090b069b92ffe9457ef2c09e63832
tree5bd3aa559a8bda8cd94a9541ca6ce8b11bde7b34
parent259fcc57346f863e65800c8671e8c34a8f1cbd30
rtcwake: fix UTC time usage

Timezone handling is broken in this version since it's always
passing UTC time into the kernel, even on systems where the
RTC uses the local timezone.

I think that bug must come from bugs in how the system used to
to originally develop this code handled the RTC timezone.  Both
RTCs should have been kept in UTC ... but only one of them was.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
sys-utils/rtcwake.c