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' }
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),