X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fdetail_format%2Fdescription_default.pm;h=7bc3ee292dffd3c9c3451b3ec1e72c4a71e64fa6;hb=368ed08e24400e9d1faf401a1e4e23ea54d2c969;hp=42e1725a1e8db2183e3d4e18592288af78f725ef;hpb=fb4ab1073f0d15d660c6cdc4e07afebf68ef3924;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),