]> git.koha-community.org Git - koha.git/commit
Bug 17524: Fix datepicker check for iso dates
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 31 Oct 2016 14:40:51 +0000 (14:40 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 2 Nov 2016 10:57:48 +0000 (10:57 +0000)
commit23f4830095d64d9a421a458fe5582930aa229aa7
treead9983014dbfed09a8363807988b4e85e88b35f4
parentd6de78624e61d602de2ed60f48951af3e4947949
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

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc