[Koha-bugs] [Bug 29403] dt_from_string should fail if passed an 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 22:57:40 CET 2021


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

--- Comment #24 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Ah good points.

I've dig about an hour trying to fix but couldn't get it work.

> 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.
Ah that is complex for me.
We cant change how DT is stringified right ?
So we better change how we store.
Maybe a Koha::DateUtils dt_to_sql method ?

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


More information about the Koha-bugs mailing list