]> git.evergreen-ils.org Git - Evergreen.git/commit
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:46:42 +0000 (19:46 -0500)
commit7a7c229db5044712ad44ad5a75ca7a65cd6d9105
tree8957cce394b3c90fe7ba6bb8627c5adf9518fbb1
parent2b2bb871bdaadbf6051bf3a03aa193915eb0cdf3
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