[Koha-bugs] [Bug 16376] Koha::Calendar->is_holiday date truncation creates fatal errors for TZ America/Santiago
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon May 30 03:18:57 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16376
--- Comment #14 from David Cook <dcook at prosentient.com.au> ---
(In reply to Jonathan Druart from comment #12)
> Moreover `grep time_zone Koha/Calendar.pm` will return another occurrence
> where the fix should be applied too.
Interesting.
I think I avoided that the first time because $calendar->is_holiday() uses the
following:
my $ymd = $localdt->ymd('') ;
if ($self->single_holidays( $ymd ) == 1 ) {
return 1;
}
However, you are correct. sub single_holidays is weird... but definitely prone
to this problem too.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list