]> git.evergreen-ils.org Git - Evergreen.git/commit
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)
committerKathy Lussier <klussier@masslnc.org>
Mon, 24 Sep 2018 18:41:04 +0000 (14:41 -0400)
commit867da55cd97a0973b20ce0df26a6f4edfa7645eb
tree5a450f055bb3c242e7a1f44910c99e80bb0a43c4
parent6fbbcca096402e099f90702e5f79a98b80bc69a2
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm
Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js