X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fdetail_format%2Fdescription_default.pm;h=7bc3ee292dffd3c9c3451b3ec1e72c4a71e64fa6;hb=e71dd08fc2e0aa3ee8cdbeb4e1f39f04898f773b;hp=b00983de53c1055966947090f17f8f1a860a9ab0;hpb=0d16979c948a691c95ef92f4ac7a2921a9e8c998;p=freeside.git diff --git a/FS/FS/detail_format/description_default.pm b/FS/FS/detail_format/description_default.pm index b00983de5..7bc3ee292 100644 --- a/FS/FS/detail_format/description_default.pm +++ b/FS/FS/detail_format/description_default.pm @@ -1,8 +1,7 @@ package FS::detail_format::description_default; use strict; -use parent qw(FS::detail_format); -use Date::Format qw(time2str); +use base qw(FS::detail_format); sub name { 'Default with description field as destination' } @@ -13,8 +12,8 @@ sub columns { my $cdr = shift; ( $cdr->src, - time2str($self->date_format, $cdr->startdate), - time2str('%r', $cdr->startdate), + $self->time2str_local($self->date_format, $cdr->startdate), + $self->time2str_local('%r', $cdr->startdate), ($cdr->rated_pretty_dst || $cdr->dst), $cdr->description, $self->duration($cdr),