[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
Mon Nov 25 11:43:00 CET 2013


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

--- Comment #2 from M. Tompsett <mtompset at hotmail.com> ---
tools/inventory.pl passes two parameters a DateTime and 'iso'. But output_pref
in Koha/DateUtils.pm only pays attention to the first parameter for non-hash
parameters. This means the results would be affected by the I18N/L10N
preferences dateformat system preference.

1) Should it be affected by the system preference like that?
OR
2) Should it always be iso regardless of the system preference?
NOTE: 'it' being the output of the clicking submit on the tools inventory page,
as far as I can tell.

If (1), then 'iso' should be chopped from tools/inventory.pl. If (2), then the
second parameter should be checked in Koha::DateUtils.

As an aside, I think I found another bug while trying to create a sample test
plan. Could someone else confirm that going to the inventory tool page and just
clicking submit without actually uploading any barcodes generates a 500 error?

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


More information about the Koha-bugs mailing list