Fixing import
This commit is contained in:
parent
8f44e26a6d
commit
275b9cef46
1 changed files with 2 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Reference in a new issue