Skip to content
Snippets Groups Projects
Commit 91505f61 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

hafas-m: Correctly display negative delays (yes, they do happen)

parent 2f8567d3
No related branches found
No related tags found
No related merge requests found
......@@ -137,7 +137,7 @@ for my $d ( $status->results() ) {
$d->time,
$d->is_cancelled
? 'CANCELED'
: ( $d->delay ? '+' . $d->delay : q{} ),
: ( $d->delay ? sprintf( '%+d', $d->delay ) : q{} ),
$d->train,
$d->route_end,
( $d->platform // q{} ) . ( $d->is_changed_platform ? ' !' : q{} ),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment