X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fdetail_format%2Fdefault.pm;h=44abc83c7f10c7a9518ad6939b262d1174dbbf9e;hb=3cbdd85a96348a287623e3b97c937c7749e99392;hp=6c73d0869defe758737cf17fb005b38c36d44e97;hpb=fb4ab1073f0d15d660c6cdc4e07afebf68ef3924;p=freeside.git diff --git a/FS/FS/detail_format/default.pm b/FS/FS/detail_format/default.pm index 6c73d0869..44abc83c7 100644 --- a/FS/FS/detail_format/default.pm +++ b/FS/FS/detail_format/default.pm @@ -2,7 +2,6 @@ package FS::detail_format::default; use strict; use base qw(FS::detail_format); -use Date::Format qw(time2str); 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),