LP#1789442: fix editing due date of hourly loans in web staff
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 21 Sep 2018 19:23:11 +0000 (15:23 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 3 Apr 2019 15:12:23 +0000 (11:12 -0400)
commit6491e7e8cba0ca5d3209d52b2e7c7813ec0abe03
treedb1c40fe3280165a65a669235b1f8753e672f0dd
parent5a97270f80cbdd7857b3af13b9faa77c38ca22a6
LP#1789442: fix editing due date of hourly loans in web staff

This patch fixes a bug where editing the due date of an hourly
loan would result in the time portion always getting set to 00:00.

To test
-------
[1] Set up some daily and hourly loans in your database.
[2] Apply the patch.
[3] From the items out page, edit the due date for one or
    more hourly loans. Verify that the resulting due date
    is set correctly.
[4] From the items out page, edit the due date for some
    daily loans and verify correctness. In particular,
    verify that the resulting due date is /not/ the
    following day if testing in time zones in the Americas.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm
Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js