@@ -, +, @@
---
.../prog/en/modules/opac-readingrecord.tt | 4 +++-
opac/opac-detail.pl | 2 --
opac/opac-readingrecord.pl | 4 ++--
opac/opac-user.pl | 1 -
4 files changed, 5 insertions(+), 6 deletions(-)
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tt
+++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tt
@@ -1,3 +1,5 @@
+[% USE KohaDates %]
+
[% INCLUDE 'doc-head-open.inc' %][% LibraryNameTitle or "Koha Online" %] Catalog › Your checkout history
[% INCLUDE 'doc-head-close.inc' %]
@@ -82,7 +84,7 @@ You have never borrowed anything from this library.
[% UNLESS ( noItemTypeImages ) %][% IF ( READING_RECOR.imageurl ) %][% END %][% END %] [% READING_RECOR.description %] |
[% READING_RECOR.itemcallnumber %] |
-[% IF ( READING_RECOR.returndate ) %][% READING_RECOR.returndate %][% ELSE %](Checked out)[% END %] |
+[% IF ( READING_RECOR.returndate ) %][% READING_RECOR.returndate | $KohaDates %][% ELSE %](Checked out)[% END %] |
[% END %]
--- a/opac/opac-detail.pl
+++ a/opac/opac-detail.pl
@@ -494,8 +494,6 @@ for my $itm (@items) {
# I can't actually find any case in which this is defined. --amoore 2008-12-09
$itm->{ $itm->{'publictype'} } = 1;
}
- $itm->{datedue} = format_sqlduedatetime($itm->{datedue});
- $itm->{datelastseen} = format_date($itm->{datelastseen});
# get collection code description, too
if ( my $ccode = $itm->{'ccode'} ) {
--- a/opac/opac-readingrecord.pl
+++ a/opac/opac-readingrecord.pl
@@ -89,8 +89,8 @@ foreach my $issue (@{$issues} ) {
$line{title} = $issue->{'title'};
$line{author} = $issue->{'author'};
$line{itemcallnumber} = $issue->{'itemcallnumber'};
- $line{date_due} = format_sqlduedatetime( $issue->{date_due} );
- $line{returndate} = format_sqldatetime( $issue->{returndate} );
+ $line{date_due} = $issue->{'date_due'};
+ $line{returndate} = $issue->{'returndate'};
$line{volumeddesc} = $issue->{'volumeddesc'};
$issue->{'itemtype'} = C4::Context->preference('item-level_itypes') ? $issue->{'itype'} : $issue->{'itemtype'};
if($issue->{'itemtype'}) {
--- a/opac/opac-user.pl
+++ a/opac/opac-user.pl
@@ -197,7 +197,6 @@ if ($issues){
$issue->{'imageurl'} = getitemtypeimagelocation( 'opac', $itemtypes->{$itemtype}->{'imageurl'} );
$issue->{'description'} = $itemtypes->{$itemtype}->{'description'};
}
- $issue->{date_due} = output_pref_due($issue->{date_due});
push @issuedat, $issue;
$count++;
--