X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fdetail_format%2Faccountcode_simple.pm;h=5a1931068cb4cfa7e6fe5093ca705b494004eaaa;hb=e803d5f00368e951f7a4b82d5d390b53c4a6c827;hp=10a28db10dc282fe6e8d44cecdae5984333807dd;hpb=984fff08c579ff72f6eb7f658d9373079eafb16a;p=freeside.git diff --git a/FS/FS/detail_format/accountcode_simple.pm b/FS/FS/detail_format/accountcode_simple.pm index 10a28db10..5a1931068 100644 --- a/FS/FS/detail_format/accountcode_simple.pm +++ b/FS/FS/detail_format/accountcode_simple.pm @@ -2,7 +2,6 @@ package FS::detail_format::accountcode_simple; use strict; use base qw(FS::detail_format); -use Date::Format qw(time2str); sub name { 'Simple with source' } @@ -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->src, $cdr->accountcode, $self->duration($cdr),