]> git.koha-community.org Git - koha.git/commit
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)
committerFrédéric Demians <f.demians@tamil.fr>
Sat, 22 Oct 2016 06:56:44 +0000 (08:56 +0200)
commita121ecbfa1ede24329556eaf51ecce6d4523d753
treee57393ad33200d24f6b39d945a711e58dee9c655
parent20bcc8770ad31629b4ef060b6e6a687932579f43
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>
(cherry picked from commit db3df548b6a6385ea17d2db49f49f8d4c9f2969f)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc