summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Status/DE')
-rw-r--r--lib/Travel/Status/DE/IRIS/Result.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm
index b87cdf5..7f33313 100644
--- a/lib/Travel/Status/DE/IRIS/Result.pm
+++ b/lib/Travel/Status/DE/IRIS/Result.pm
@@ -52,7 +52,7 @@ sub new {
);
}
- my $dt = $ref->{datetime} = $ar // $dp;
+ my $dt = $ref->{datetime} = $dp // $ar;
$ref->{date} = $dt->strftime('%d.%m.%Y');
$ref->{time} = $dt->strftime('%H:%M');