summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/HAFAS
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Status/DE/HAFAS')
-rw-r--r--lib/Travel/Status/DE/HAFAS/Journey.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travel/Status/DE/HAFAS/Journey.pm b/lib/Travel/Status/DE/HAFAS/Journey.pm
index e3c1c2a..59d0411 100644
--- a/lib/Travel/Status/DE/HAFAS/Journey.pm
+++ b/lib/Travel/Status/DE/HAFAS/Journey.pm
@@ -121,12 +121,12 @@ sub new {
my $arr_delay
= ( $sched_arr and $rt_arr )
- ? 0 + ( $rt_arr->epoch - $sched_arr->epoch ) / 60
+ ? ( $rt_arr->epoch - $sched_arr->epoch ) / 60
: undef;
my $dep_delay
= ( $sched_dep and $rt_dep )
- ? 0 + ( $rt_dep->epoch - $sched_dep->epoch ) / 60
+ ? ( $rt_dep->epoch - $sched_dep->epoch ) / 60
: undef;
my $arr_cancelled = $stop->{aCncl};