X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fdetail_format%2Fsimple.pm;h=9622e32bac987f3050f39c0b3afecbd725982ab5;hb=d22baa4e71bfa9e153c1fe1152ff4c748f1d935c;hp=ef927062c6e07370963cc9ebb32e193522908af9;hpb=a25b4a4f96f93c8824d9e5a02591d464848d4f75;p=freeside.git diff --git a/FS/FS/detail_format/simple.pm b/FS/FS/detail_format/simple.pm index ef927062c..9622e32ba 100644 --- a/FS/FS/detail_format/simple.pm +++ b/FS/FS/detail_format/simple.pm @@ -2,7 +2,6 @@ package FS::detail_format::simple; use strict; use base qw(FS::detail_format); -use Date::Format qw(time2str); sub name { 'Simple' } @@ -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->dst, $self->duration($cdr),