Commit 292386cf authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

db-iris: indicate changed platforms with an exclamation mark

parent b95c42c1
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -4,6 +4,9 @@ git HEAD
    * db-iris: Fix --via not matching destination of trains with incomplete
    * db-iris: Fix --via not matching destination of trains with incomplete
      route data
      route data
    * Detect and merge duplicate results caused by train ID changes
    * Detect and merge duplicate results caused by train ID changes
    * Result: Provide realtime data in ->platform, add ->sched_platform
      accessor
    * db-iris: indicate platform changes with an exclamation mark


Travel::Status::DE::IRIS 0.02 - Mon Feb 03 2014
Travel::Status::DE::IRIS 0.02 - Mon Feb 03 2014


+7 −1
Original line number Original line Diff line number Diff line
@@ -293,6 +293,9 @@ for my $d ( $status->results() ) {
	}
	}


	my $platformstr = $d->platform // q{};
	my $platformstr = $d->platform // q{};
	if ( ( $d->platform // q{} ) ne ( $d->sched_platform // q{} ) ) {
		$platformstr .= ' !';
	}
	my $timestr;
	my $timestr;
	if ($track_via) {
	if ($track_via) {
		$timestr = get_departure( $d, '%H:%M' ) || get_arrival( $d, '%H:%M' );
		$timestr = get_departure( $d, '%H:%M' ) || get_arrival( $d, '%H:%M' );
@@ -363,6 +366,9 @@ either a DS100 station code (such as "EE") or a normal station name
B<db-iris> will try to find station names containing I<station> as a
B<db-iris> will try to find station names containing I<station> as a
substring.
substring.


An exclamation mark (C<< ! >>) next to a platform indicates that it is not the
scheduled one.

=head1 OPTIONS
=head1 OPTIONS


=over
=over
@@ -444,7 +450,7 @@ Show both scheduled and expected arrival and departure times.
=item B<-p>, B<--platforms> I<platforms>
=item B<-p>, B<--platforms> I<platforms>


Only show arrivals/departures at I<platforms> (comma-separated list, option may
Only show arrivals/departures at I<platforms> (comma-separated list, option may
be repeated).
be repeated).  This applies to actual departures, not schedules.


=item B<-r>, B<--realtime>
=item B<-r>, B<--realtime>