[Koha-bugs] [Bug 30011] Upgrade jQueryUI to 1.13.1 in the OPAC and staff interface

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 29 16:07:10 CEST 2022


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

--- Comment #14 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Maybe we need to apply this change.

diff --git a/koha-tmpl/intranet-tmpl/prog/js/calendar.js
b/koha-tmpl/intranet-tmpl/prog/js/calendar.js
index 7a4a5083e8a..6ee428feaa2 100644
--- a/koha-tmpl/intranet-tmpl/prog/js/calendar.js
+++ b/koha-tmpl/intranet-tmpl/prog/js/calendar.js
@@ -8,7 +8,7 @@ if (debug > 1) {
 function is_valid_date(date) {
     // An empty string is considered as a valid date for convenient reasons.
     if (date === '') return 1;
-    var dateformat = dateformat_string;
+    var dateformat = dateformat_pref;
     if (dateformat == 'us') {
         if (date.search(/^\d{2}\/\d{2}\/\d{4}($|\s)/) == -1) return 0;
         dateformat = 'mm/dd/yy';

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


More information about the Koha-bugs mailing list