]> git.koha-community.org Git - koha.git/commit
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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 2 May 2024 11:19:12 +0000 (13:19 +0200)
commit1ff3d65c7073e5d93502d329b917d886a3665e0b
treee1197cda958622417b0471f7bf0d4e9e1377ffe0
parentd4bea3f9c84d97225efc0e07d7f6b9390d86d0d8
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>
koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt
opac/opac-reserve.pl