Unverified Commit 49a8b3b9 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Revert "treat delays as integers. what the fuck."

This reverts commit 38071ce2.
parent 7349b3ee
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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};