Bugzilla – Attachment 35035 Details for
Bug 11239
show hour of due date in history circulation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11239 - show hour of due date in history circulation
Bug-11239---show-hour-of-due-date-in-history-circu.patch (text/plain), 2.30 KB, created by
Jonathan Druart
on 2015-01-08 12:24:56 UTC
(
hide
)
Description:
Bug 11239 - show hour of due date in history circulation
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-01-08 12:24:56 UTC
Size:
2.30 KB
patch
obsolete
>From e00cfa438686e98e9107c6356eb2a181df8979af Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 7 Jan 2015 08:39:35 -0500 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >index 773995a..6fd1ad1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >@@ -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 %] >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11239
:
22887
|
35005
|
35028
| 35035