Bug 24850: Add tests for invalid RFC3339 dates
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 11 Mar 2020 16:20:36 +0000 (16:20 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Nov 2021 13:57:14 +0000 (14:57 +0100)
commit911f9bcde54f0d135602678a7505899c3935ba85
tree3a5219a8ab5049757ccfdfc5011b5d4a95e8baa4
parent1059303f90eaedbca76f3491a2b6b008a77abdc5
Bug 24850: Add tests for invalid RFC3339 dates

We should die on invalidly formatted dates being passed.  This patch
adds such a test case.

Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/DateUtils.t