From 2737c428542d1a838ba8f2adaf392e53504d4e9c Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 29 Apr 2024 11:24:24 +0100 Subject: [PATCH] Bug 35977: (follow-up) Use KohaDate instead of raw This patch updates the value passed to the holdfrom input to use KohaDate formatting instead of Raw. The 'futureinclusive' logic now being triggered in the flatpickr instantiation expects the localised date format as apposed to the raw one. However, I can't get the flatpickr and input to pick up the passed date properly now :(. --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt index 34d1f4ff5b8..96ecc597cfd 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -288,7 +288,7 @@ [% IF ( reserve_in_future ) %]
  • - + [% INCLUDE 'date-format.inc' %]
  • -- 2.44.0