diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-04-02 19:50:21 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-04-02 19:50:21 +0200 |
commit | 30b4bdb5b0e55a0bc06602201e90115b817b8f89 (patch) | |
tree | b90eb2569bb4190f265c3af645cd34ce17a5c5f0 /lib | |
parent | b7af35c24679ff46c92e96078d2e4d1930cb8b15 (diff) |
Section: add comment with known section types
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Travel/Routing/DE/HAFAS/Connection/Section.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Travel/Routing/DE/HAFAS/Connection/Section.pm b/lib/Travel/Routing/DE/HAFAS/Connection/Section.pm index 3a8b958..477900f 100644 --- a/lib/Travel/Routing/DE/HAFAS/Connection/Section.pm +++ b/lib/Travel/Routing/DE/HAFAS/Connection/Section.pm @@ -115,6 +115,8 @@ sub new { $ref->{arr_delay} = ( $rt_arr->epoch - $sched_arr->epoch ) / 60; } + # known types according to 2015 DB Navigator: + # HIDE, JNY, WALK, BIKE, KISS, PARK, TAXI, TRSF, DEVI if ( $sec->{type} eq 'JNY' ) { $ref->{journey} = Travel::Status::DE::HAFAS::Journey->new( |