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

Journey: support ÖBB (and possibly other non-DB HAFAS) platforms

parent 1e7d9d01
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -167,8 +167,10 @@ sub new {
	if ( $journey->{stbStop} ) {
		$ref->{station}        = $locL->[ $journey->{stbStop}{locX} ]->name;
		$ref->{station_eva}    = 0 + $locL->[ $journey->{stbStop}{locX} ]->eva;
		$ref->{sched_platform} = $journey->{stbStop}{dPlatfS};
		$ref->{rt_platform}    = $journey->{stbStop}{dPlatfR};
		$ref->{sched_platform} = $journey->{stbStop}{dPlatfS}
		  // $journey->{stbStop}{dPltfS}{txt};
		$ref->{rt_platform} = $journey->{stbStop}{dPlatfR}
		  // $journey->{stbStop}{dPltfR}{txt};
		$ref->{platform} = $ref->{rt_platform} // $ref->{sched_platform};

		my $time_s