LP#1635737 Apply DST-aware timezone to context dates
authorMike Rylander <mrylander@gmail.com>
Mon, 31 Jul 2017 19:55:34 +0000 (15:55 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 7 Nov 2018 14:11:40 +0000 (09:11 -0500)
commitb5357b0283c37ce12d161186f1092d138752e4f4
treeb7cd737aca461670970dbdba98c02ec41c73528a
parent8520c3257a71444a9068e1c9de344c2010b2af02
LP#1635737 Apply DST-aware timezone to context dates

Do our best to enforce the rule required by OpenSRF's interval_to_seconds
that when a context date is in use, and you care about DST awareness, you
must set the timezone to a DST-aware value, e.g., 'America/New_York'. In
most situations, 'local' will suffice for this, as the server is typically
configured with a DST-aware timezone in its environment.  However, we will
look for an org unit setting called 'lib.timezone' and use that where we
can.  See LP#1705524 for info on that setting.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/NonCat.pm

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/NonCat.pm