[Bug 4402] Date filter in parcels.tt requires db format dates
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4402 --- Comment #28 from Marc Véron <veron@veron.ch> --- The crash occurs in Koha/DateUtils.pm DateUtils.pm line 92, sub dt_from_string return DateTime::Format::DateParse->parse_datetime( $date_string, $tz->name() ); Description: Passed a date string returns a DateTime object format and timezone default to the system preferences. If the date string is empty DateTime->now is returned I propose to have a new bug to change the function for testing the validity of the string and return DateTime->now as well if the date string is not valid. Validation could be done e.g. with DateTime::Format::DateManip->parse_datetime ( $datestring ). -- You are receiving this mail because: You are watching all bug changes. You are the QA Contact for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org