diff options
author | Daniel Friesel <derf@finalrewind.org> | 2013-12-21 19:43:09 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2013-12-21 19:43:09 +0100 |
commit | 235f0b5090731e41c53654e4d3332d822a018c77 (patch) | |
tree | ab0ef52da7956b1f0b66022d345dbc5f57edb3d1 /lib/Travel/Status/DE/IRIS | |
parent | bcb0cfa19c309546de2a5e67a2b62477ad34d39c (diff) |
Result: Prefer departure information
Diffstat (limited to 'lib/Travel/Status/DE/IRIS')
-rw-r--r-- | lib/Travel/Status/DE/IRIS/Result.pm | 2 |
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'); |