https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16376 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |larry@opengeek.cl --- Comment #2 from David Cook <dcook@prosentient.com.au> --- This problem was brought to me by Larry Letelier who found that he couldn't use overdue_notices.pl because of this error. You can replicate it by creating a Koha::Calendar, and then running the following: use DateTime; use Koha::DateUtils; use Koha::Calendar; my $dt = DateTime->new( month => 9, year => 2015, day => 6, hour => 12, minute => 00, second => 00, time_zone => 'America/Santiago', ); my $now = DateTime->now(); my $calendar = Koha::Calendar->new(branchcode => "MAIN"); $calendar->days_between($dt, $now); Run that using the America/Santiago TZ environmental variable: TZ=America/Santiago perl issues.pl -- You should get the "Invalid local time for date in time zone: America/Santiago" message and the script should die. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.