Skip to content
Snippets Groups Projects
Commit 95e04f72 authored by André Lahmann's avatar André Lahmann
Browse files

* updated finc/DAIA driver with latest updates from finc/paia-driver->lahmann/paia-driver

parent 02c8a227
No related merge requests found
......@@ -720,8 +720,13 @@ class DAIA extends \VuFind\ILS\Driver\AbstractBase implements
}
// attribute expected is mandatory for unavailable element
if (isset($unavailable["expected"])) {
$duedate = $this->dateConverter
->convertToDisplayDate("Y-m-d", $unavailable['expected']);
try {
$duedate = $this->dateConverter
->convertToDisplayDate("Y-m-d", $unavailable['expected']);
} catch (\Exception $e) {
$this->debug("Date conversion failed: " . $e->getMessage());
$duedate = null;
}
}
// attribute queue can be set
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment