]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1322303 cleanse backdate for checkin overdue voiding
authorBill Erickson <berick@esilibrary.com>
Thu, 22 May 2014 18:41:17 +0000 (14:41 -0400)
committerBen Shum <bshum@biblio.org>
Tue, 27 May 2014 20:53:12 +0000 (16:53 -0400)
commit035e757e30904ddb191ec46b3554cb323fed987c
tree8d8339e9c4c5686b230f587bad75ce5e8d7b9241
parentdc742faa69ac634f9c084ff1c4c6979f60369b1f
LP#1322303 cleanse backdate for checkin overdue voiding

Passing raw backdates, particularly from offline transactions, which
have a space between the date and time, to
DateTime::Format::ISO8601->parse_datetime results in "Invalid date
format:" errors.  Pass the date through the cleanse routine first.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm