Bug 11239 - show hour of due date in history circulation

The circulation history page (Patron -> Circulation history) does not
show the time when displaying the date of checkout, due date, and check
in. This patch adds the "with_hours => 1" flag to the KohaDates filter.

To test, apply the patch and view the circulation history page for a
patron with good circulation history data. Confirm that dates are
displayed correctly with times and that date sorting still works
correctly.

Signed-off-by: marjorie <marjorie.barry-vila@ccsr.qc.ca>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Owen Leonard 2015-01-07 08:39:35 -05:00 committed by Tomas Cohen Arazi
parent 565b97924e
commit 2fa0f6f4ab
1 changed files with 3 additions and 3 deletions

View File

@ -106,19 +106,19 @@
<td>[% issue.barcode %]</td>
<td>[% issue.renewals %]</td>
<td>
<span title="[% issue.issuedate %]">[% issue.issuedate | $KohaDates %]</span></td>
<span title="[% issue.issuedate %]">[% issue.issuedate |$KohaDates with_hours => 1 %]</span></td>
</td>
<td>[% issue.issuingbranch %]</td>
<td>
[% IF issue.date_due %]
<span title="[% issue.date_due %]">[% issue.date_due | $KohaDates %]</span>
<span title="[% issue.date_due %]">[% issue.date_due |$KohaDates with_hours => 1 %]</span>
[% ELSE %]
<span title="0000-00-00"></span>
[% END %]
</td>
<td>
[% IF issue.returndate %]
<span title="[% issue.returndate %]">[% issue.returndate | $KohaDates %]</span>
<span title="[% issue.returndate %]">[% issue.returndate |$KohaDates with_hours => 1 %]</span>
[% ELSE %]
<span title="Checked out"><small>Checked out</small></span>
[% END %]