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:28 +0000 (16:53 -0400)
commit1aae891b4c298fc341a8314ca3a70936491969df
tree2bccc2ca3218ceff60f029d8ab8fb7298168c2d9
parentdd50cf4828aa743ea71648f5b3826a9b255e59a2
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