diff options
-rw-r--r-- | libraries/aspen.py | 4 | ||||
-rwxr-xr-x | library_info_cli.py | 2 |
2 files changed, 3 insertions, 3 deletions
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, diff --git a/library_info_cli.py b/library_info_cli.py index 2362c85..3c6174b 100755 --- a/library_info_cli.py +++ b/library_info_cli.py @@ -119,7 +119,7 @@ def html(checkouts, reservations, imagepath, imagerelativepath, card_expiration_ prn("<h2>Reservations</h2>\n") if len(reservations): prn(f"<table style='width: 100%;' class='display' id='reservations'>\n") - prn(f"<thead><tr><th>Patron</th><th>date placed</th><th>location</th><th>position</th><th>status</th><th>cover</th><th>title</th></thead>\n") + prn(f"<thead><tr><th>Patron</th><th>date</th><th>location</th><th>position</th><th>status</th><th>cover</th><th>title</th></thead>\n") prn("<tbody>\n") for i in reservations: prn(f"<tr>") |