[Koha-bugs] [Bug 29403] dt_from_string should fail if passed more data than expected for the format

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 18 13:18:42 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29403

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #129487|0                           |1
        is obsolete|                            |

--- Comment #70 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 129555
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=129555&action=edit
Bug 29403: Fix unit test for bug 29718

Including a 'T' is actually valid for ISO date format, I was being
naughty and writing the test to follow our code rather than writing the
test to conform to the ISO spec first time around. Now we are properly
supporting 'T' in ISO dates with bug 29718, we need to update the test
here to properly reflect an invalid ISO date string.

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
The commit message is misleading here. Look at the Z in the code changes.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list