From 3dbf82e14c2a6943a91f98d56cd02a617677cd05 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 15 Nov 2021 10:32:30 +0100 Subject: [PATCH] Bug 29477: Flatpickr - default to 23:59 for the time part It was defaulting to 12:00 which was an unexpected change in behaviour caused by flatpickr switch. Test plan: On the circulation view, check some items out and play with the time part and "Remember for session". The behaviour must be correct, ie. the same as prior to flatpickr switch. --- koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc index 6464b8a0f57..117dbd9960a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc @@ -43,6 +43,8 @@ nextArrow: '', prevArrow: '', time_24hr: flatpickr_timeformat, + defaultHour: 23, + defaultMinute: 59, locale: { "firstDayOfWeek": calendarFirstDayOfWeek }, -- 2.25.1