From e8b8d3fad932f45f6ecadec1e7d59b799c6f4217 Mon Sep 17 00:00:00 2001 From: Emily Lamancusa Date: Thu, 10 Oct 2024 14:31:45 -0400 Subject: [PATCH] Bug 38146: Display full datetime of datelastseen in item holdings To test: 1. Check in an item 2. Look at the item holdings table for the bib record that item is on --> Note the date last seen column displays dates, but not the time 3. Apply patch and restart_all 4. Refresh the page --> Date last seen column now shows the time you checked the item in Signed-off-by: Phil Ringnalda --- .../en/includes/html_helpers/tables/items/catalogue_detail.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc index f0672e86ce..b4ea39c548 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc @@ -548,7 +548,7 @@ searchable: true, orderable: true, render: function (data, type, row, meta) { - return $date(row.last_seen_date); + return $datetime(row.last_seen_date); } }, { -- 2.44.0