[Koha-bugs] [Bug 12669] "Template process failed: undef error - Invalid local time for date in time zone"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 31 17:37:25 CEST 2014


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

--- Comment #3 from Rolando Isidoro <rolando.isidoro at gmail.com> ---
It looks like there is another code entry that needs correction:

my $dt = dt_from_string( $text, 'iso' ); @
https://github.com/digibib/koha-work/blob/master/Koha/Template/Plugin/KohaDates.pm#L32

becomes:

my $tz = DateTime::TimeZone->new(name => 'floating') unless
$config->{with_hours};
my $dt = dt_from_string( $text, 'iso', $tz );

With these 2 fixes in place the "Serial collection" page is rendered correctly.

-- 
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