chiark / gitweb /
fix hwclock_apply_localtime_delta() to properly handle negative TZ offset
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 21 Jul 2011 18:28:27 +0000 (20:28 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 21 Jul 2011 18:28:27 +0000 (20:28 +0200)
commitff4daf5a348278abed4dbf8afc3c4297b8cb9877
treea9940950447c6ed8b4412d2bb4201df449d9fff1
parentf68c5a70762da0cbb6228d05a87254a7c6c46ba6
fix hwclock_apply_localtime_delta() to properly handle negative TZ offset

Localtime may be a negative number, i.e. GMT-7. Fix based on a
patch from Kelly Anderson <kelly@silka.with-linux.com>.
src/main.c
src/timedated.c
src/util.c
src/util.h