LP#1322303 cleanse backdate for checkin overdue voiding user/berick/lp1322303-offline-backdate-parse-error
authorBill Erickson <berick@esilibrary.com>
Thu, 22 May 2014 18:41:17 +0000 (14:41 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 22 May 2014 18:41:17 +0000 (14:41 -0400)
commit462dd2ea8516171017cc4ea67022053fe08080b6
tree75ec55a84fdebbc907ab7cb5c30ff036ea0a20ff
parentd286fbecb77f94624e9663c20bdf6fd001d44a99
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm