http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14382 Bug ID: 14382 Summary: datepicker's dateFormat setting for reports is missing Change sponsored?: --- Product: Koha Version: 3.18 Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: Reports Assignee: gmcharlt@gmail.com Reporter: costalc@gmail.com QA Contact: testopia@bugs.koha-community.org datepicker's dateformat setting for reports is missing. Reports always run with ISO date format (yyyy-mm-dd) but this setting is missing in /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/LANGUAGE/modules/reports/guided_reports_start.tt. Because of this date format in datepicker plugin adopts the format defined in dateformat syspreferences variable and this is wrong. To solve this is needed to include this code below line 169: // redefine the datepicker's default because reports require ISO // http://jqueryui.com/demos/datepicker/#option-dateFormat $( ".datepicker" ).datepicker( "option", "dateFormat", "yy-mm-dd" ); Tested in 3.18.7 release. In 3.2 is not missing so it works fine. -- You are receiving this mail because: You are watching all bug changes.