X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fdetail_format%2Faccountcode_default.pm;h=562a8a921e135878f8b4fae7cc87ce78374eebca;hb=bb7e827141c9ed68f30765c9ca2ddcd1d760ad2d;hp=031cc4b90c51a46b0df2f3ffd42f04f7adabc624;hpb=0d16979c948a691c95ef92f4ac7a2921a9e8c998;p=freeside.git diff --git a/FS/FS/detail_format/accountcode_default.pm b/FS/FS/detail_format/accountcode_default.pm index 031cc4b90..562a8a921 100644 --- a/FS/FS/detail_format/accountcode_default.pm +++ b/FS/FS/detail_format/accountcode_default.pm @@ -1,8 +1,7 @@ package FS::detail_format::accountcode_default; use strict; -use parent qw(FS::detail_format); -use Date::Format qw(time2str); +use base qw(FS::detail_format); sub name { 'Default with accountcode' } @@ -12,8 +11,8 @@ sub columns { my $self = shift; my $cdr = shift; ( - 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->accountcode, ($cdr->rated_pretty_dst || $cdr->dst), $cdr->rated_regionname,