Fixing import

This commit is contained in:
Finn 2019-07-12 16:02:19 +01:00
parent e625dc8ffe
commit 87c5da4a9a

View file

@ -45,7 +45,8 @@ sub _row_to_result {
}
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 );