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:48:08 +0000 (00:48 -0500)
commitcb926eacf59bcb8df1c0e6eebe6ef04464f31914
treea94d16b5635e71da1dd3b992bc68e09afe8c3732
parent5fbf6ae971febfc952eea49c077ccee33c603216
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