From bce56ce19322bad01364472768cdc60e05d5244d Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 27 Jun 2022 14:31:04 +0100 Subject: [PATCH] Bug 28854: (follow-up) Restore last seen date formatting We lost the date formatting somewhere along the line with rebases, this patch restores the call to $date for last seen date. Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 5d579875f3..754c80211b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -1536,7 +1536,7 @@ Note that permanent location is a code, and location may be an authval. "orderable": true, "render": function(data, type, row, meta) { if ( row.lost_status == bundle_lost_value ) { - let out = '' + _("Last seen") + ': ' + row.last_seen_date + ''; + let out = '' + _("Last seen") + ': ' + $date(row.last_seen_date) + ''; if ( row.return_claim ) { out = out + '' + _("Claims returned by") + ': ' + $patron_to_html( row.return_claim.patron, { display_cardnumber: false, url: true } ) + ''; } -- 2.30.2