LP 985957 Prevent hold activation date being in the past
authorSuzanne Paterno <paterno@noblenet.org>
Tue, 6 Aug 2019 14:25:05 +0000 (10:25 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 19 Aug 2020 15:03:59 +0000 (11:03 -0400)
commit1b4dde8a9b7701d9322626e7d1235a3d8d724992
tree65c17971c179133a8b8121680985c1531a239373
parent30e7b94e7c156f43cfba655d4714486687d94970
LP 985957 Prevent hold activation date being in the past

Created a new JS function isValidDate. Checks that the date is in the future, is a valid date within the month/year given. Also makes sure the date is in the proper format D/m/Y.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Open-ILS/src/templates/opac/i18n_strings.tt2
Open-ILS/web/js/ui/default/opac/holds-validation.js