diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-03-21 08:19:33 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-03-21 08:19:33 +0100 |
commit | 234486663dbe1712c10888121d9bf38c4cbd2cc8 (patch) | |
tree | d2527e55d2e67670c39af6aa912825fb9cfe4750 /lib/DBInfoscreen/Helper | |
parent | d4f528767cc904320c26b30abf8bb5d83548514b (diff) |
add preliminary support for station-independent train details
Diffstat (limited to 'lib/DBInfoscreen/Helper')
-rw-r--r-- | lib/DBInfoscreen/Helper/HAFAS.pm | 2 |
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( |