summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-02-08 19:26:02 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-02-08 19:26:02 +0100
commit3da85ac74611f417a21748729601cf4171c1858d (patch)
tree9870aaa609ce3557e14d3df23f2a7a39c95ecb59 /lib/DBInfoscreen/Controller
parentfbd2756660a31e7cf900e57f63fd4a376ad3e81e (diff)
HAFAS details: show platform (and platform change)
Diffstat (limited to 'lib/DBInfoscreen/Controller')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index 56bf2c7..8eac6b0 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -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};
}
}