[Koha-bugs] [Bug 13242] Slow checkin for patrons restricted indefinitely

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 17 09:34:29 CET 2014


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

--- Comment #31 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Comment on attachment 33596
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33596
[PASSED QA] Bug 13242: Fix DateUtils for 'infinite' dates (ie year 9999)

Review of attachment 33596:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=13242&attachment=33596)
-----------------------------------------------------------------

::: Koha/DateUtils.pm
@@ +128,5 @@
>  
>      return unless defined $dt;
>  
> +    # FIXME: see bug 13242 => no TZ for dates 'infinite'
> +    $dt->set_time_zone( C4::Context->tz ) if $dt->ymd !~ /^9999/;

Fredéric, did you locate where output_pref is called with "9999-12-31"?

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


More information about the Koha-bugs mailing list