[Koha-bugs] [Bug 11253] tools/inventory.pl output_pref ignores 'iso' parameter passed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 18 15:43:32 CET 2014


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

--- Comment #8 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Comment on attachment 25679
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25679
[SIGNED-OFF] Bug 11253 - tools/inventory.pl output_pref ignores 'iso' parameter
passed

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

::: tools/inventory.pl
@@ +150,5 @@
>  my @errorloop;
>  if ( $uploadbarcodes && length($uploadbarcodes) > 0 ) {
>      my $dbh = C4::Context->dbh;
> +    my $date;
> +    if (C4::Context->preference('dateformat') eq 'dd/mm/yyyy') {

This test is done in dt_from_string. You should not check the dateformat pref
here.

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


More information about the Koha-bugs mailing list