[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 Dec 31 02:03:06 CET 2013


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

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #23180|0                           |1
        is obsolete|                            |

--- Comment #6 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 23876
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23876&action=edit
Bug 11253 - tools/inventory.pl output_pref ignores 'iso' parameter passed

Took all the output_pref function calls and converted them
to the newer hash format parameter.  Added special case for
dd-mm-yyyy calls, so dt_from_string works correctly.

TEST PLAN
---------
Create a small barcode file from books in a given branch.
Set I18N/L10N system preference of dateformat to mm/dd/yyyy.
Go to inventory/stocktaking tool.
Browse for the barcode file.
Select the branch (i.e. not All libraries) to match.
Click submit
Table displays dates in "Unseen since" column.

Set I18N/L10N system preference of dateformat to yyyy-mm-dd.
Go to inventory/stocktaking tool.
Browse for the barcode file.
Select the branch (i.e. not All libraries) to match.
Click submit
Table displays dates in "Unseen since" column.

Set I18N/L10N system preference of dateformat to dd/mm/yyyy.
Go to inventory/stocktaking tool.
Browse for the barcode file.
Select the branch (i.e. not All libraries) to match.
Click submit
KABOOM!

Apply patch
Go to inventory/stocktaking tool.
Browse for the barcode file.
Select the branch (i.e. not All libraries) to match.
Click submit
Table displays dates in "Unseen since" column.

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


More information about the Koha-bugs mailing list