Bugzilla – Attachment 127668 Details for
Bug 29477
flatpickr default time should be 23:59 (11:59 pm as well, probably), not 12:00
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29477: Flatpickr - default to 23:59 for the time part
Bug-29477-Flatpickr---default-to-2359-for-the-time.patch (text/plain), 1.27 KB, created by
David Nind
on 2021-11-15 18:38:18 UTC
(
hide
)
Description:
Bug 29477: Flatpickr - default to 23:59 for the time part
Filename:
MIME Type:
Creator:
David Nind
Created:
2021-11-15 18:38:18 UTC
Size:
1.27 KB
patch
obsolete
>From f9a89a7e5730239a4e396defb249d074eb3939ab Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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. > >Signed-off-by: David Nind <david@davidnind.com> >--- > 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 6464b8a0f5..117dbd9960 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: '<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 > }, >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29477
:
127623
|
127668
|
127687