[Koha-bugs] [Bug 17524] Datepicker on checkout fails when dateformat = iso

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 31 15:43:22 CET 2016


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

--- Comment #2 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 57001
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57001&action=edit
Bug 17524: Fix datepicker check for iso dates

Iso dates are yyyy-mm-dd, the is_valid JS function
expects \d{2}-\d{2}-\d{4} when it should be \d{4}-\d{2}-\d{2}

Test plan:
Switch DateFormat to iso
Set a due date using the datepicker
=> Should work as expected

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


More information about the Koha-bugs mailing list