Skip to content

Commit

Permalink
No need to convert "-" to "/" at ISO8601 date format
Browse files Browse the repository at this point in the history
  • Loading branch information
azumakuniyuki committed Dec 19, 2024
1 parent d2243af commit a208738
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/Sisimai/Lhost/AmazonSES.pm
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,8 @@ sub inquire {
}
return undef unless $recipients;

for my $e ( @$dscontents ) {
# Time::Piece->strptime() cannot parse "2016-11-25T01:49:01.000Z" format
s|-|/|g, s/T/ /, s/[.]\d{3}Z$// for $e->{'date'};
}
# Time::Piece->strptime() cannot parse "2016-11-25T01:49:01.000Z" format
for my $e ( @$dscontents ) { s/T/ /, s/[.]\d{3}Z$// for $e->{'date'} }

# Generate pseudo email headers as the original message
my $cv = "";
Expand Down

0 comments on commit a208738

Please sign in to comment.