Bug 14780

Summary: Datetime format picker error in Circulation
Product: Koha Reporter: Eugene Espinoza <eugenegf>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: CLOSED WORKSFORME QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, jonathan.druart, katrin.fischer, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: 01

Description Eugene Espinoza 2015-09-03 15:28:51 UTC
Created attachment 42345 [details]
01

In Circulation module, when using the datetime picker in Checkout, I am getting the following error:

Software error:

The 'month' parameter ("29") to DateTime::new did not pass the 'an integer between 1 and 12' callback
 at /usr/lib/perl5/DateTime.pm line 199
	DateTime::new(undef, 'hour', 09, 'minute', 00, 'second', 0, 'month', 29, ...) called at /home/koha/src/Koha/DateUtils.pm line 164
	Koha::DateUtils::dt_from_string('09/29/2015 09:00') called at /home/koha/src/circ/circulation.pl line 170
Comment 1 Jonathan Druart 2015-11-13 16:44:32 UTC
Hi Eugene,
What version of Koha are you using?
With is the value of the dateformat system preference?