Unverified Commit 53a4766b authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Departure: pass arr/dep delay on to Stop; arr/dep are schedule data

parent 54b26725
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -150,9 +150,11 @@ sub parse_route {
		push(
			@ret,
			Travel::Status::DE::EFA::Stop->new(
				arr       => $arr,
				dep       => $dep,
				id        => $stop->{ref}{id},
				sched_arr => $arr,
				sched_dep => $dep,
				arr_delay => $ref->{arrValid} ? $ref->{arrDelay} : undef,
				dep_delay => $ref->{depValid} ? $ref->{depDelay} : undef,
				id        => $ref->{id},
				full_name => $stop->{name},
				place     => $stop->{place},
				name      => $stop->{nameWO},