[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 16:15:33 CEST 2017


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

--- Comment #4 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to Jonathan Druart from comment #3)
> 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?

That works for me! Followup incoming!

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


More information about the Koha-bugs mailing list