@@ -, +, @@ --- C4/VirtualShelves/Page.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/C4/VirtualShelves/Page.pm +++ a/C4/VirtualShelves/Page.pm @@ -34,7 +34,7 @@ use C4::Koha; use C4::Auth qw/get_session/; use C4::Members; use C4::Output; -use C4::Dates qw/format_date/; +use Koha::DateUtils; use C4::Tags qw(get_tags); use C4::Csv; use C4::XSLT; @@ -270,7 +270,7 @@ sub shelfpage { # and itemtypes tables, so I'm commenting them out for now to quiet the log -crn #$this_item->{imageurl} = $imgdir."/".$itemtypes->{ $this_item->{itemtype} }->{'imageurl'}; #$this_item->{'description'} = $itemtypes->{ $this_item->{itemtype} }->{'description'}; - $this_item->{'dateadded'} = format_date( $this_item->{'dateadded'} ); + $this_item->{'dateadded'} = output_pref({ dt => dt_from_string( $this_item->{'dateadded'} ), dateformat => 'iso', dateonly => 1 }); $this_item->{'imageurl'} = getitemtypeinfo( $this_item->{'itemtype'}, $type )->{'imageurl'}; $this_item->{'coins'} = GetCOinSBiblio( $record ); $this_item->{'subtitle'} = GetRecordValue('subtitle', $record, GetFrameworkCode($this_item->{'biblionumber'})); --