X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fdetail_format%2Fsimple2.pm;h=d57114171d97b926a2ac9a1336491f811634f7fd;hb=bb7e827141c9ed68f30765c9ca2ddcd1d760ad2d;hp=5bba18d4d140f7fded4532992b3f0ad14123db45;hpb=0d16979c948a691c95ef92f4ac7a2921a9e8c998;p=freeside.git diff --git a/FS/FS/detail_format/simple2.pm b/FS/FS/detail_format/simple2.pm index 5bba18d4d..d57114171 100644 --- a/FS/FS/detail_format/simple2.pm +++ b/FS/FS/detail_format/simple2.pm @@ -1,8 +1,7 @@ package FS::detail_format::simple2; use strict; -use parent qw(FS::detail_format); -use Date::Format qw(time2str); +use base qw(FS::detail_format); 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->userfield, $cdr->src, $cdr->dst,