[Koha-bugs] [Bug 29403] dt_from_string should fail if passed and rfc3339 formatted string when 'iso' is selected as dateformat

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 17 09:09:41 CET 2021


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

--- Comment #22 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Nick Clemens from comment #17)
> (In reply to Fridolin Somers from comment #16)
> > Pushed to master for 22.05, thanks to everybody involved 🦄
> 
> This is causing failures on t/db_dependent/Circulation.t
> 
> not ok 17 - CanBookBeRenewed tests
> #   Failed test 'CanBookBeRenewed tests'
> #   at t/db_dependent/Circulation.t line 1450.
> The given date (2021-12-15T16:06:30) does not match the date format (us) at
> /kohadevbox/koha/Koha/DateUtils.pm line 197.
> # Looks like your test exited with 11 just after 17.
> Dubious, test returned 11 (wstat 2816, 0xb00)

This one is fun. We are storing a DT into a varchar (rule_value) and so the DT
object is stringified using ISO 8601.
And yes, this is closely related to bug 29718.

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


More information about the Koha-bugs mailing list