[Koha-bugs] [Bug 13813] Remove deprecated module C4::Dates from system

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 15 10:39:23 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13813

--- Comment #137 from Marc Véron <veron at veron.ch> ---
(In reply to Jonathan Druart from comment #135)
> Something else: I did not try but... C4::Dates was (is) very efficient to
> format a date from an iso date.
> Now we have to call dt_from_string and output_pref.
> Maybe we should introduce a new subroutine without calls to DateTime to do
> this job.

I was thinking about adding new functions to Koha::DateUtils mostly to
streamline the transition process to Koha::DateUtils (easier and more human
readable calls) but I was afraid that that would slow down the changes. (I'm
eager to get Bug 12072 resolved.)
I think if calls to dt_from_string and output_pref turn up to be to time costly
e.g. in big loops we can resolve this in a follow up.

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


More information about the Koha-bugs mailing list