Bug 13788

Summary: Checked out On Date Appears without Time
Product: Koha Reporter: Rizwan <rizwan.ahmed>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P1 - high CC: gmcharlt, jonathan.druart, kyle.m.hall
Version: 3.14   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: KOHA - Check Out On Time Missing
KOHA - Check Out 2

Description Rizwan 2015-03-04 02:37:38 UTC
Created attachment 36437 [details]
KOHA - Check Out On Time Missing

The staff has checked out a book but the system did not show time in field "Checked Out On"; it is only displaying date for the recent item. For previous checked out items, the system is displaying both date and time in the field "Checked Out On". What could be the reason of this error ? How we can fix it ?
Comment 1 Jonathan Druart 2015-03-06 08:27:54 UTC
This is fixed.
Comment 2 Rizwan 2015-03-07 16:34:25 UTC
What is the fix ? Can you please attach the solution ?
Comment 3 Jonathan Druart 2015-03-09 08:45:17 UTC
Which version do you use?
Comment 4 Rizwan 2015-03-09 13:23:47 UTC
Koha Version: 3.14.04.000
OS Version: Linux
Comment 5 Rizwan 2015-03-09 21:30:19 UTC
Created attachment 36753 [details]
KOHA - Check Out 2
Comment 6 Jonathan Druart 2015-03-10 08:12:44 UTC
Rizwan, please stop assign me to this bug report, I don't plan to propose a patch.

The following should fix your problem, without any guarantee:
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
index baf86b2..1a3b23c 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
@@ -722,7 +722,7 @@ No patron matched <span class="ex">[% message %]</span>
         </td>
         <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% todayissue.biblionumber %]&amp;type=intra"><strong>[% todayissue.title |html %][% FOREACH subtitl IN todayissue.subtitle %] [% subtitl.subfield %][% END %]</strong></a>[% IF ( todayissue.author ) %], by [% todayissue.author %][% END %][% IF ( todayissue.itemnotes ) %]- <span class="circ-hlt">[% todayissue.itemnotes %]</span>[% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% todayissue.biblionumber %]&amp;itemnumber=[% todayissue.itemnumber %]#item[% todayissue.itemnumber %]">[% todayissue.barcode %]</a></td>
         <td>[% UNLESS ( noItemTypeImages ) %] [% IF ( todayissue.itemtype_image ) %]<img src="[% todayissue.itemtype_image %]" alt="" />[% END %][% END %][% todayissue.itemtype %]</td>
-        <td><span title="[% todayissue.displaydate_sort %]">[% todayissue.checkoutdate %]</span></td>
+        <td><span title="[% todayissue.displaydate_sort %]">[% todayissue.displaydate %]</span></td>
         [% IF ( todayissue.multiple_borrowers ) %]<td>[% todayissue.firstname %] [% todayissue.surname %]</td>[% END %]
         <td>[% todayissue.issuingbranchname %]</td>
         <td>[% todayissue.itemcallnumber %]</td>