diff options
Diffstat (limited to 'bin/hafas-m')
-rwxr-xr-x | bin/hafas-m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hafas-m b/bin/hafas-m index 5f49a19..5dea42e 100755 --- a/bin/hafas-m +++ b/bin/hafas-m @@ -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{} ), |