[Koha-bugs] [Bug 24980] Date formatting from JS - use timezone only with dates with offset

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 1 21:14:06 CEST 2020


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

--- Comment #21 from Agustín Moyano <agustinmoyano at theke.io> ---
(In reply to Martin Renvoize from comment #19)
> I initially liked that final patch.. but do we believe it's correct
> consistency wise given that dt_from_string (which we're using in KohaDates
> which with function is emulating) will return 'now' when passed 'undef'. ?

In my opinion, if the API's date is null, we shouldn't return current date.

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


More information about the Koha-bugs mailing list