[Koha-bugs] [Bug 24650] API returned timestamps are incompatible with existing helpers

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 13 12:55:18 CET 2020


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

--- Comment #2 from Andrew Isherwood <andrew.isherwood at ptfs-europe.com> ---
Looking into this further it seems I have *completely* misunderstood the
purpose of the *_from_syspref functions in calendar.inc. It would appear they
accept a date / datetime in the format specified in the syspref, and return a
Datetime. Much the same as Date.parse() will do.

In which case, it would seem we're missing functions to take an ISO formatted
datetime and return it in the format specified in the syspref.

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


More information about the Koha-bugs mailing list