Browse Source

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.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.11/bug30761
Jonathan Druart 2 years ago
parent
commit
ad50d6ad6f
  1. 2
      koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc

2
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc

@ -43,6 +43,8 @@
nextArrow: '<i class="fa fa-fw fa-arrow-right"></i>',
prevArrow: '<i class="fa fa-fw fa-arrow-left"></i>',
time_24hr: flatpickr_timeformat,
defaultHour: 23,
defaultMinute: 59,
locale: {
"firstDayOfWeek": calendarFirstDayOfWeek
},

Loading…
Cancel
Save