https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24850
--- Comment #60 from David Cook <[email protected]> --- Comment on attachment 115855 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115855 Bug 24850: Always return 'instance' local time Review of attachment 115855: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=24850&attachment=115855) ----------------------------------------------------------------- ::: Koha/DateUtils.pm @@ +54,5 @@ > return if $date_string and $date_string =~ m|^0000-0|; > > my $do_fallback = defined($date_format) ? 0 : 1; > + my $server_tz = C4::Context->tz; > + $tz = C4::Context->tz unless $tz; This might read easier if it said the following: $tz = $server_tz unless $tz; -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
