Bug 28538: Insert formatted date if valid
authorNick Clemens <nick@bywatersolutions.com>
Wed, 9 Jun 2021 17:59:59 +0000 (17:59 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 18 Jun 2021 12:41:51 +0000 (08:41 -0400)
commitc43047968c31a918923aa4ef89fd56be2fcf54ec
tree5362de8f465bee71dd0e635325ed33ac89ca2876
parent09fcc66ab89dd2c084dfe20d4b4dc43a5335b86a
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>
koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc
koha-tmpl/intranet-tmpl/prog/js/calendar.js