[Koha-bugs] [Bug 13011] Parsing a date on sending a letter generates a warning

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 30 11:38:44 CEST 2014


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

--- Comment #2 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 31938
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31938&action=edit
Bug 13011: 0000-00-00 should not be considered as a valid date

When parsing the letter content, the 0000-00-00 should not be replaced,
it's not a valid date.

Test plan:
  prove t/db_dependent/Suggestions.t
should not return the following error:
0000-00-00 seems to be a date but an error occurs on generating it (The
'month' parameter ("0") to DateTime::new did not pass the 'an integer
between 1 and 12' callback

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


More information about the Koha-bugs mailing list