@@ -, +, @@ 1 - Add new patron 2 - Enter birthdate as 2/11/1986 3 - Complete required fields 4 - Save 5 - Get ISE The given date (2/11/1986) does not match the date format (us) at /kohadevbox/koha/Koha/DateUtils.pm line 175 6 - Apply patch 7 - Repeat 1-2 8 - Note that when you change focus (click on another field) the date is formatted as '02/11/1986' 9 - Save patron, success! --- koha-tmpl/intranet-tmpl/prog/js/calendar.js | 2 ++ 1 file changed, 2 insertions(+) --- a/koha-tmpl/intranet-tmpl/prog/js/calendar.js +++ a/koha-tmpl/intranet-tmpl/prog/js/calendar.js @@ -192,6 +192,8 @@ $(document).ready(function () { }).on("change", function () { if (!is_valid_date($(this).val())) { $(this).val(""); + } else { + $(this).datepicker("setDate",$(this).val()); } }); // http://jqueryui.com/demos/datepicker/#date-range --