Fix backdate near DST changes
authorThomas Berezansky <tsbere@mvlc.org>
Fri, 2 Nov 2012 13:53:30 +0000 (09:53 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 16 Jan 2013 00:47:01 +0000 (19:47 -0500)
commit22ce0de3a8e1b691e2ebbb31ecec3ada50a32eeb
treed8777ca8edc7928e925424700565bb079cb9339b
parent20577f1088e310e44922ed0d3b7e3dc863ed39b8
Fix backdate near DST changes

When the due date and the backdate date are on opposite sides of a DST
boundary we were getting an hour off on the checkin time (using the
original due date's time).

This commit changes it so that instead we just set the hour and minute
values on the backdate date to the due date's versions, leaving the time
zone alone.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm