[Koha-bugs] [Bug 4402] Date filter in parcels.tt requires db format dates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 14 14:45:02 CET 2015


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

--- Comment #20 from Marc Véron <veron at veron.ch> ---
Sorry, I can still provocate a crash bei entering an invalid date (e.g.invalid
month) and skipping the date picker.

Example:

From: 01/12/2014  => Works OK

From: 01/16/2014 => Crash

Software error:

The 'day' parameter ("2014") to DateTime::new did not pass the 'an integer
which is a possible valid day of month' callback
 at /usr/lib/perl5/DateTime.pm line 199
    DateTime::new(undef, 'day', 2014, 'year', 1916, 'time_zone',
'Europe/Zurich') called at /usr/share/perl5/DateTime/Format/DateParse.pm line
58
    DateTime::Format::DateParse::parse_datetime('DateTime::Format::DateParse',
'16/01/2014', 'Europe/Zurich') called at /usr/share/kohaclone/Koha/DateUtils.pm
line 92
    Koha::DateUtils::dt_from_string('01/16/2014') called at
/usr/share/kohaclone/acqui/parcels.pl line 145

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list