From 235f0b5090731e41c53654e4d3332d822a018c77 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 21 Dec 2013 19:43:09 +0100 Subject: Result: Prefer departure information --- lib/Travel/Status/DE/IRIS/Result.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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'); -- cgit v1.2.3