summaryrefslogtreecommitdiff
path: root/lib/Travel
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-12-21 19:43:09 +0100
committerDaniel Friesel <derf@finalrewind.org>2013-12-21 19:43:09 +0100
commit235f0b5090731e41c53654e4d3332d822a018c77 (patch)
treeab0ef52da7956b1f0b66022d345dbc5f57edb3d1 /lib/Travel
parentbcb0cfa19c309546de2a5e67a2b62477ad34d39c (diff)
Result: Prefer departure information
Diffstat (limited to 'lib/Travel')
-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');