From d7960596f094dd0e9b99ef1b00139cf1b7071a43 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 Signed-off-by: Kyle M Hall --- 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 948998e7bae..0148404bd8a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -1699,7 +1699,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