Bug 24850: Correct tests for offset handling in RFC3339 dates
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 11 Mar 2020 15:57:07 +0000 (15:57 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Nov 2021 13:57:13 +0000 (14:57 +0100)
commitd8d33c0e1b71168920a2302d012ffef2b3c1b08b
treef06faab50cd0b5aef995ee2347124a80f526c59b
parent5095e0a9543773e933be567ce3dab507013f4dde
Bug 24850: Correct tests for offset handling in RFC3339 dates

The tests were incorrectly passing for RFC3339 dates passed with an
offset.  This patch corrects the test.

Test plan:
1/ Read the change
2/ Agree the change adheres to the RFC
3/ Run the test and varify it now fails
3/ Signoff

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