[Koha-devel] Datepicker: native vs jQuery vs Flatpickr

dcook at prosentient.com.au dcook at prosentient.com.au
Fri Jun 10 01:32:32 CEST 2022


We'll never EOL you, Owen O_O.

That's cool about the Flatpickr. I was looking at stable versions. (Side note: It looks like koha-tmpl/intranet-tmpl/prog/en/includes/timepicker.inc might still be in master but doesn't need to be?)

I had a feeling that would be your answer about Flatpickr. No worries. I'm glad I asked. 

David Cook
Senior Software Engineer
Prosentient Systems
Suite 7.03
6a Glen St
Milsons Point NSW 2061
Australia

Office: 02 9212 0899
Online: 02 8005 0595

-----Original Message-----
From: Owen Leonard <oleonard at myacpl.org> 
Sent: Thursday, 9 June 2022 10:58 PM
To: dcook at prosentient.com.au
Cc: koha-devel <koha-devel at lists.koha-community.org>
Subject: Re: Datepicker: native vs jQuery vs Flatpickr

> Microsoft has EOLed Internet Explorer.

In that case, when my corpse has been in the ground for a minimum of six months you can start calling me EOLed

> I think we use a mix of jQuery date picker and Flatpickr

All dependencies on Bug 29239, "[OMNIBUS] Replace jQueryUI's timepicker with flatpickr" have been pushed to master!

> I was curious what people though about using the native one.

I have not tested it in a project yet, but my impression is that we will enjoy having the customization and styling options offered by Flatpickr. For example: In many places we have two date fields tied together so that the second selected date cannot be before the first.
This is easy to do with Flatpickr, but we'd be writing code from scratch to handle that with the native option.

 -- Owen



More information about the Koha-devel mailing list