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

HAFAS details: show platform (and platform change)

parent fbd27566
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1196,6 +1196,9 @@ sub train_details {
					  = $station_info->{dep_cancelled};
					$res->{is_cancelled} = $res->{arrival_is_cancelled}
					  || $res->{arrival_is_cancelled};
					$res->{platform} = $station_info->{platform};
					$res->{scheduled_platform}
					  = $station_info->{sched_platform};
				}
			}

+14 −12
Original line number Diff line number Diff line
@@ -242,6 +242,8 @@ sub get_route_timestamps_p {
					dep_delay      => $stop->{dep_delay},
					arr_cancelled  => $stop->{arr_cancelled},
					dep_cancelled  => $stop->{dep_cancelled},
					platform       => $stop->{platform},
					sched_platform => $stop->{sched_platform},
					load           => $stop->{load},
					isCancelled    => (
						( $stop->{arr_cancelled} or not $stop->{sched_arr} )