Bug 14753: Use the KohaDates plugin to display dates
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
This commit is contained in:
parent
6c3a413f94
commit
1b07012f03
|
|
@ -588,7 +588,7 @@ foreach ( sort { $a <=> $b } keys %returneditems ) {
|
|||
$ri{itemtitle} = $biblio->{'title'};
|
||||
$ri{itemauthor} = $biblio->{'author'};
|
||||
$ri{itemcallnumber} = $biblio->{'itemcallnumber'};
|
||||
$ri{dateaccessioned} = output_pref({ dt=>dt_from_string( $item->{dateaccessioned}, 'sql' ), dateonly => 1});
|
||||
$ri{dateaccessioned} = $item->{dateaccessioned};
|
||||
$ri{itemtype} = $biblio->{'itemtype'};
|
||||
$ri{itemnote} = $biblio->{'itemnotes'};
|
||||
$ri{itemnotes_nonpublic} = $item->{'itemnotes_nonpublic'};
|
||||
|
|
|
|||
|
|
@ -620,7 +620,7 @@ $(document).ready(function () {
|
|||
<td class="ci-holdinglibrary">[% Branches.GetName( riloo.holdingbranch ) %]</td>
|
||||
<td class="ci-shelvinglocation">[% riloo.location %]</td>
|
||||
<td class="ci-callnumber">[% riloo.itemcallnumber %]</td>
|
||||
<td class="ci-dateaccessioned">[% riloo.dateaccessioned %]</td>
|
||||
<td class="ci-dateaccessioned">[% riloo.dateaccessioned | $KohaDates %]</td>
|
||||
<td class="ci-type">[% ItemTypes.GetDescription( riloo.itemtype ) %] [% AuthorisedValues.GetByCode('CCODE', riloo.ccode) %]</td>
|
||||
<td class="ci-patron">[% IF ( riloo.duedate ) %]
|
||||
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riloo.borrowernumber %]">
|
||||
|
|
|
|||
Loading…
Reference in New Issue