summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Helper
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-03-21 08:19:33 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-03-21 08:19:33 +0100
commit234486663dbe1712c10888121d9bf38c4cbd2cc8 (patch)
treed2527e55d2e67670c39af6aa912825fb9cfe4750 /lib/DBInfoscreen/Helper
parentd4f528767cc904320c26b30abf8bb5d83548514b (diff)
add preliminary support for station-independent train details
Diffstat (limited to 'lib/DBInfoscreen/Helper')
-rw-r--r--lib/DBInfoscreen/Helper/HAFAS.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Helper/HAFAS.pm b/lib/DBInfoscreen/Helper/HAFAS.pm
index 2b8172e..bfc8ed4 100644
--- a/lib/DBInfoscreen/Helper/HAFAS.pm
+++ b/lib/DBInfoscreen/Helper/HAFAS.pm
@@ -321,6 +321,8 @@ sub get_route_timestamps_p {
$promise->reject;
return;
}
+ $trainsearch_result->{trainClass}
+ = $traininfo->{suggestions}[0]{trainClass};
my $ret = {};
my $strp = DateTime::Format::Strptime->new(