From 9c616ea489e85c14fca77a7e8ee3a5ee7c5e8698 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 27 Apr 2023 06:49:03 +0200 Subject: [PATCH] Bug 33621: Fix claim return --- koha-tmpl/intranet-tmpl/prog/en/includes/modal-claims.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/modal-claims.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/modal-claims.inc index 2b2c4185218..598f3ba58c3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/modal-claims.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/modal-claims.inc @@ -82,8 +82,7 @@ id = "#return_claim_spinner_" + data.item_id; - let created_on = new Date(data.created_on); - let formated_date = $datetime(created_on); + let formated_date = $datetime(data.created_on); let content = ""; if ( data.claim_id ) { -- 2.25.1