[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
Tue Dec 21 08:03:51 CET 2021


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

--- Comment #26 from Fridolin Somers <fridolin.somers at biblibre.com> ---
(In reply to Jonathan Druart from comment #25)
> 
> > So we better change how we store.
> > Maybe a Koha::DateUtils dt_to_sql method ?
> 
> Hum? I am not sure I understand that part. This is DBMS internals, we cannot
> modify how we store date/datetime/timestamp.

I mean a method to stringify a DT into a string that we store in database.
Called "dt_to_sql" as oposite of "dt_from_string($str, 'sql')".
We may call it "dt_to_string".

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


More information about the Koha-bugs mailing list