[Koha-bugs] [Bug 14522] Use Koha::Cache for accessing single_holidays()

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 22 03:40:56 CEST 2015


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

--- Comment #7 from Mason James <mtj at kohaaloha.com> ---
(In reply to James from comment #6)
> Problem in testing, when trying to create holidays using patch the date
> format is being read incorrectly resulting in the following message for a
> holiday range ending on 26th November:
> 
> Software error:
> 
> The 'month' parameter ("26") 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, 'year', 2015, 'month', 26, 'day', 11) called at
> /home/koha/src/tools/newHolidays.pl line 67

Hmm, it looks like I might have only tested this patch with a 'Y-m-d'
DateFormat syspref value.

I'll take another look at this

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


More information about the Koha-bugs mailing list