X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fdetail_format%2Fdescription_default.pm;fp=FS%2FFS%2Fdetail_format%2Fdescription_default.pm;h=7bc3ee292dffd3c9c3451b3ec1e72c4a71e64fa6;hb=573e68cc026cddd6e52d2f2027da388054a128d1;hp=42e1725a1e8db2183e3d4e18592288af78f725ef;hpb=82380ef8cb6e506f63dd4a8d1abf89cb079ae6cc;p=freeside.git diff --git a/FS/FS/detail_format/description_default.pm b/FS/FS/detail_format/description_default.pm index 42e1725a1..7bc3ee292 100644 --- a/FS/FS/detail_format/description_default.pm +++ b/FS/FS/detail_format/description_default.pm @@ -2,7 +2,6 @@ package FS::detail_format::description_default; use strict; use base qw(FS::detail_format); -use Date::Format qw(time2str); sub name { 'Default with description field as destination' } @@ -13,8 +12,8 @@ sub columns { my $cdr = shift; ( $cdr->src, - 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->description, $self->duration($cdr),