[Koha-bugs] [Bug 13601] New: Get rid of DateTime::Format::DateParse
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 20 15:22:04 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13601
Bug ID: 13601
Summary: Get rid of DateTime::Format::DateParse
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: gmcharlt at gmail.com
Reporter: jonathan.druart at biblibre.com
QA Contact: testopia at bugs.koha-community.org
For a couple of reasons, dt_from_string should not use
DateTime::Format::DateParse:
1/ It does not manage date < 1900 (certainly caused by l.47 of this module:
$p{ year } = $year ? $year + 1900 : DateTime->now->year;
2/ It considers 31/01/2015 as a valid us date, which is not.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list