Fixing import
This commit is contained in:
parent
e625dc8ffe
commit
87c5da4a9a
1 changed files with 2 additions and 1 deletions
|
@ -45,7 +45,8 @@ sub _row_to_result {
|
||||||
}
|
}
|
||||||
|
|
||||||
my $date_formatter = DateTime::Format::Strptime->new(
|
my $date_formatter = DateTime::Format::Strptime->new(
|
||||||
pattern => '%Y/%m/%d'
|
pattern => '%m/%d/%Y',
|
||||||
|
time_zone => 'Europe/London'
|
||||||
);
|
);
|
||||||
|
|
||||||
my $paid_date = ( $row->{paid_date} ? $date_formatter->parse_datetime($row->{paid_date}) : DateTime->today );
|
my $paid_date = ( $row->{paid_date} ? $date_formatter->parse_datetime($row->{paid_date}) : DateTime->today );
|
||||||
|
|
Reference in a new issue