Bug 35977: (follow-up) Cleaner working approach
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 30 Apr 2024 15:13:25 +0000 (16:13 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 28 May 2024 20:36:11 +0000 (20:36 +0000)
commitfcc1ca28c4aba67d7db12087e781d2e2feed9544
treef1b648a85e92e8c8b5a16d2d7b897265da987578
parent9b29e9a2ab1eb07d857dee29db397fe9bc27e517
Bug 35977: (follow-up) Cleaner working approach

This patch removes the Date_from_syspref recently added and replaces it
with the correct parseDate call as per bug 35559. We also clean up the
code around setting the input value in the first place and use iso which
is what the rest of flatpickr expects and now is handled correctly in
futuredate pickers.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 1ff3d65c7073e5d93502d329b917d886a3665e0b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 3880307a9f47433fed1e91dbeaf3fb743c0cd355)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt
opac/opac-reserve.pl