[Koha-bugs] [Bug 35341] Circulation rule dates are being overwritten

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 11 12:02:39 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35341

--- Comment #25 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Marcel, I think I have fixed the problem you were facing. However I am failing
at hiding the error (not a JS Error object, but something appearing in the
console) raised by is_valid_date (actually flatpickr.parseDate) when we have
"None defined".

I have tried to silent it (with an option) but errorHandler in flatpickr is not
documented (and I don't find a way to pass it when using parseDate as a static
method).

The only possible solution I found is to temporary override console.warn, but
this sounds terribly wrong.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list