diff --git a/module/VuFind/src/VuFind/ILS/Driver/Demo.php b/module/VuFind/src/VuFind/ILS/Driver/Demo.php index c59fd803cf50b5c35c292081345b4b277166499d..7e8e1c5a0593e3763b105565f1144e65d467698e 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/Demo.php +++ b/module/VuFind/src/VuFind/ILS/Driver/Demo.php @@ -772,9 +772,10 @@ class Demo extends AbstractBase $fineList[] = [ "amount" => $fine * 100, - "checkout" => $this->dateConverter->convertToDisplayDate( - 'U', $checkout - ), + "checkout" => $this->dateConverter + ->convertToDisplayDate('U', $checkout), + 'createdate' => $this->dateConverter + ->convertToDisplayDate('U', time()), // After 20 days it becomes 'Long Overdue' "fine" => $day_overdue > 20 ? "Long Overdue" : "Overdue", // 50% chance they've paid half of it