Bug 28538: Insert formatted date if valid
authorNick Clemens <nick@bywatersolutions.com>
Wed, 9 Jun 2021 17:59:59 +0000 (17:59 +0000)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Tue, 22 Jun 2021 01:06:29 +0000 (03:06 +0200)
commitbe13167d78aceab8414db54466fe14237c43b5ee
treec3e27fae0d56f0a5980063d83257b0dffa45fc20
parentf67344e523817b8825ec9310cb813e32762e5c6e
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit c43047968c31a918923aa4ef89fd56be2fcf54ec)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit a00bb70c9848179d41945a91f020ed39d8468186)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc
koha-tmpl/intranet-tmpl/prog/js/calendar.js