https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17015

--- Comment #36 from Mehdi Hamidi <[email protected]> ---
(In reply to J Schmidt from comment #35)
Hello Jenny,
I just went on By water solutions sandbox to test the bug, there seems to be a
problem with the datepicker. The reason you'are getting this error :

>The 'month' parameter ("30") to DateTime::new did not pass the 'an integer 
>>between 1 and 12' callback at /usr/local/lib/perl/5.14.2/DateTime.pm line 
>197. 
>DateTime::new(undef, "hour", 0, "minute", 0, "second", 0, "month", 30, ...) 
>>called at /var/lib/koha/sandbox1/kohaclone/Koha/DateUtils.pm line 172
>       Koha::DateUtils::dt_from_string("04/30/2017") called at 
> >/var/lib/koha/sandbox1/kohaclone/tools/discrete_calendar.pl line 94
>       main::edit_holiday() called at 
> >/var/lib/koha/sandbox1/kohaclone/tools/discrete_calendar.pl line 60

It's because the date format is not correct, it is set to dd/mm/yyyy in the
settings, so you get an error saying the month can't be 30 when the date
entered is : 04/30/2017.

I'm working on to find why the datepickers are not showing on the sandbox,
because they are working correctly on local installations. 

Also, for weekly holidays, they are only for single day, so the to date will be
ignored.

Thank you again for testing!

Mehdi Hamidi

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to