X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fdetail_format%2Fdefault.pm;h=44abc83c7f10c7a9518ad6939b262d1174dbbf9e;hb=9b3e40ffd129991d4567a3439eb2060c64cfa885;hp=33abb092fc572b030c68f2a4786f48ea8d0485b6;hpb=0d16979c948a691c95ef92f4ac7a2921a9e8c998;p=freeside.git diff --git a/FS/FS/detail_format/default.pm b/FS/FS/detail_format/default.pm index 33abb092f..44abc83c7 100644 --- a/FS/FS/detail_format/default.pm +++ b/FS/FS/detail_format/default.pm @@ -1,8 +1,7 @@ package FS::detail_format::default; use strict; -use parent qw(FS::detail_format); -use Date::Format qw(time2str); +use base qw(FS::detail_format); sub name { 'Default' } @@ -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->rated_pretty_dst || $cdr->dst), $cdr->rated_regionname, $self->duration($cdr),