Bug 28538: Insert formatted date if valid
authorNick Clemens <nick@bywatersolutions.com>
Wed, 9 Jun 2021 17:59:59 +0000 (17:59 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 14 Jun 2021 15:35:19 +0000 (17:35 +0200)
commitd75b0c7c72d6050f533aa3b3b4eb40af7f5ace6c
tree7811869a11e08baf981d802fddb4bdfdac9b5cd6
parentdb35077e76245ac8527a343bed8c768f6a27755b
Bug 28538: Insert formatted date if valid

This patch restores the setting of the date from bug 27937 and adds a parsing of the date to
ensure the correct format

To test:
1 - Follow test plan from bug 27937 - it fails
2 - Follow test plan from bug 28351 - it succeeds
3 - Apply patch
4 - Repeat 1-2
5 - both plans pass now

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc
koha-tmpl/intranet-tmpl/prog/js/calendar.js