Fix backdate near DST changes
authorThomas Berezansky <tsbere@mvlc.org>
Fri, 2 Nov 2012 13:53:30 +0000 (09:53 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 23 Jan 2013 05:19:50 +0000 (00:19 -0500)
commit7df7cdba01ddb6e4664d209727888ef66739ca5e
tree7f822498c7e65236552fa08e92ce5b66214a6d1e
parent0082c30b6920a9aaf48b1f77273c833b88c378e1
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