Commit 05d90af5 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

documentation, changelog

parent 3c3d1776
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
git HEAD

    * Result: Add arrival_has_realtime, departure_has_realtime, has_realtime
      accessors
    * Result->delay_messages: Leave out superseded messages (right now, the
      only case is "Defekt am Zug" -> "Behobener Defekt am Zug")
    * Stations: Add swiss and austrian stations reachable from Waldshut and
      Lindau

Travel::Status::DE::IRIS 1.56 - Sun Jun 20 2021

    * Update IRIS station list. Adds support for lots of
+16 −0
Original line number Diff line number Diff line
@@ -905,6 +905,10 @@ Estimated arrival delay in minutes (integer number). undef if no realtime
data is available, the train starts at the specified station, or there is
no scheduled arrival time (e.g. due to diversions). May be negative.

=item $result->arrival_has_realtime

True if "arrival" is based on real-time data.

=item $result->arrival_is_additional

True if the arrival at this stop is an additional (unscheduled) event, i.e.,
@@ -974,6 +978,10 @@ Estimated departure delay in minutes (integer number). undef if no realtime
data is available, the train terminates at the specified station, or there is
no scheduled departure time (e.g. due to diversions). May be negative.

=item $result->departure_has_realtime

True if "departure" is based on real-time data.

=item $result->departure_is_additional

True if the train's departure at this stop is unscheduled (additional), i.e.,
@@ -994,6 +1002,14 @@ empty list) otherwise.

Alias for route_end.

=item $result->has_realtime

True if arrival or departure time are based on real-time data. Note that this
is different from C<< defined($esult->delay) >>. If delay is defined, some kind
of realtime information for the train is available, but not necessarily its
arrival/departure time. If has_realtime is true, arrival/departure time are
available. This behaviour may change in the future.

=item $result->info

List of information strings. Contains both reasons for delays (which may or