Bug 14956: (followup) Fix birthday date validation in Opac
authorMarc Véron <veron@veron.ch>
Thu, 5 Nov 2015 13:49:23 +0000 (14:49 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 6 Nov 2015 18:01:37 +0000 (15:01 -0300)
commit3e3ec3a14e3ce6575b0ba6bebe46a364c324493c
tree23dbe9f632e0b29d96c956394c0017e021a5aafb
parent7a46b1599e3a7600e4383ad11932b98e3c5eca06
Bug 14956: (followup) Fix birthday date validation in Opac

To reproduce / test:

- In Opac: Go to 'your personal details'
- Enter a valid birtday date
- In Staff client: Go to Home > Patrons > Update patron records
  (Link on start page: Patrons requesting modification)
- Verify that the birtday date is correct
- Back in Opac, clear the birthday date, try to submit
  => Validation message appears
- Enter an invalid date (32/32/2999 or 00/00/0000), try to submit
  => Birthday date field is cleared, validation message appears.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised. Wrong today corrected

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
opac/opac-memberentry.pl