[Koha-bugs] [Bug 18557] Mysqlim CURRENT_DATE in Koha::Clubs::get_enrollable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 9 15:16:34 CEST 2017


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

--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Kyle, my understanding is that the best would be to use dt_from_string:

my $dtf = Koha::Database->new->schema->storage->datetime_parser;
then
  ->search({ date_end => { '>=' => $dtf->format_datetime( dt_from_string() ) }
})

Do not you think?

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


More information about the Koha-bugs mailing list