Bug 14060: Force leading zeros on date
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 30 Aug 2016 08:54:55 +0000 (09:54 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 8 Sep 2016 12:04:20 +0000 (12:04 +0000)
commitdb3df548b6a6385ea17d2db49f49f8d4c9f2969f
tree3d007cd9af1c65a2db4b8f39c6261fe819747e6f
parent26fdc96c5ea824b5529da846b63a8e4e62d486e8
Bug 14060: Force leading zeros on date

If a date does not contain leading zeros for day and month, the date
will be refused.
parseDate function considers 1/1/1990 as a valid date, but our perl code
does not. We must refuse it.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc