[Koha-bugs] [Bug 4974] New: process_koc.pl fails to display date and time of return
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 8 20:29:01 CEST 2010
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4974
Summary: process_koc.pl fails to display date and time of
return
Change sponsored?: ---
Product: Koha
Version: rel_3_4
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: Circulation
AssignedTo: kyle.m.hall at gmail.com
ReportedBy: magnus at enger.priv.no
QAContact: koha-bugs at lists.koha-community.org
CC: gmcharlt at gmail.com
Estimated Hours: 0.0
On a successful return, process_koc.pl displays something like this:
Checked in TITLE (BARCODE) from PERSON (PATRONBARCODE):
The date and time is supposed to be displayed after the trailing colon.
On lines 276, 297, 318 and 344 the script tries to assign datetime to @output:
datetime => $circ->{ 'datetime' }
but in the function parse_command_line on line 189 the timestamp from the
.koc-file is split into $date, $time and $id, and date and time are returned
seperately.
A couple of solutions spring to mind:
- Returning the timestamp from parse_command_line and assigning that to
datetime in @output
- Concatenating date and time in the assignment to datetime.
Not sure which makes most sense...
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Koha-bugs
mailing list