[Koha-bugs] [Bug 15822] STAFF Advanced search error date utils

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 17 16:37:36 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15822

--- Comment #11 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
I am sorry but I don't have enough information to help you.
On a test server, you could try to modify Koha::DateUtils::output_pref with:

+++ b/Koha/DateUtils.pm
@@ -220,6 +220,7 @@ sub output_pref {
     return unless defined $dt;

     # FIXME: see bug 13242 => no TZ for dates 'infinite'
+    use Data::Dumper;warn Dumper caller;
     if ( $dt->ymd !~ /^9999/ ) {
         my $tz = $dateonly ? DateTime::TimeZone->new(name => 'floating') :
C4::Context->tz;
         $dt->set_time_zone( $tz );

Looking at the logs, you will know which routines has called it just before
crashing.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list