[Koha-bugs] [Bug 13813] Remove deprecated module C4::Dates from system

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 15 09:41:13 CEST 2015


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

--- Comment #92 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Comment on attachment 36882
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36882
Bug 13813 - Remove C4::Dates from circ/bookcount.pl

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

::: circ/bookcount.pl
@@ +86,4 @@
>      biblioitemnumber        => $bi,
>      homebranch              => $homebranch,
>      holdingbranch           => $holdingbranch,
> +    lastdate                => $lastdate ? output_pref({ dt => dt_from_string( $lastdate ), dateformat => 'iso', dateonly => 1 }) : 0,

Not correct, we want a formatted date.

@@ +177,4 @@
>      my ($date) = @_;
>      $date or return;
>      return (
> +        output_pref({ dt => dt_from_string( $date, 'iso' ), dateonly => 1 }),

This is correct.

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


More information about the Koha-bugs mailing list