[Bug 8966] Koha::Calendar::is_holiday truncates the date
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8966 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #8 from David Cook <dcook@prosentient.com.au> --- I just noticed that the Calendar.t uses a DateTime object with a timezone of Europe/London. If we change the test to include the following, my $dt = DateTime->new( month => 9, year => 2015, day => 6, hour => 12, minute => 00, second => 00, time_zone => 'America/Santiago', ); my $calendar = Koha::Calendar->new(branchcode => "MAIN"); $calendar->is_holiday($dt); We'll get a fatal error with the following message: Invalid local time for date in time zone: America/Santiago See https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16376 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org