From fe9d67d75beded1d932a4c53759bc74eda8fb5dc Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Sat, 13 Jul 2024 16:47:39 -0400 Subject: aspen: show pickup by date on ready reservations --- libraries/aspen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libraries') diff --git a/libraries/aspen.py b/libraries/aspen.py index 21e0115..d9b0984 100644 --- a/libraries/aspen.py +++ b/libraries/aspen.py @@ -85,7 +85,7 @@ class Library(BaseLibrary): "patron": self.alias, "position": values_dict["Position"] if "Position" in values_dict else "", "status": values_dict["Status"], - "date_placed": values_dict["Date Placed"], + "date_placed": "placed " + values_dict["Date Placed"], "format": values_dict["Format"], "location": values_dict["Pickup Location"], "title": title_obj.text, @@ -111,7 +111,7 @@ class Library(BaseLibrary): "patron": self.alias, "position": values_dict["Position"] if "Position" in values_dict else "", "status": "ready", - "date_placed": values_dict["Date Placed"], + "date_placed": "until " + values_dict["Pickup By"], "format": values_dict["Format"], "location": values_dict["Pickup Location"], "title": title_obj.text, -- cgit