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

efa departure board: add has_realtime annotations

parent 6e8addac
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1750,6 +1750,7 @@ sub handle_efa {
				is_bit_delayed =>
				  ( $delay and $delay > 0 and $delay < 5 ? 1 : 0 ),
				is_delayed      => ( $delay and $delay >= 5 ? 1 : 0 ),
				has_realtime    => defined $delay ? 1 : 0,
				occupancy       => $result->occupancy,
				station         => $efa->stop->id,
				replaced_by     => [],