[Koha-bugs] [Bug 7977] Add a "Quote-of-the-day" feature to the OPAC homepage

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 21 19:52:26 CEST 2012


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

--- Comment #71 from Chris Nighswonger <cnighswonger at foundations.edu> ---
(In reply to comment #69)
> QA comments:
> 
> 1) Introduces a new system dependency, DateTime::Format::MySQL, which only
> seems to be used to format datetimes into ISO for querying the quotes table.
> We already have Koha::DateUtils, which can process a datetime in ISO, or
> many other formats, so I'm not seeing the need to add a dependency on
> DateTime::Format::MySQL.  Does this module do something more that I'm
> missing?

Looking at the perldoc for Koha::DateUtils it appears that we are transitioning
to DateTime and that the K::DU module is merely meant to ease that transition
by hiding "the complexity of switch to DateTime."

I would suggest that using DateTime::Format::MySQL is the better approach as we
work toward phasing out Koha::DateUtils and moving completely to DateTime.

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


More information about the Koha-bugs mailing list