diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/hafas | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -271,14 +271,13 @@ for my $res ( @{ $hafas->{results} } ) { for my $sec ( $res->sections ) { if ( $sec->type eq 'JNY' ) { + printf( "%s → %s\n", $sec->name, $sec->direction ); printf( "%-5s %-${have_delay}s ab %s\n", $sec->dep_datetime->strftime('%H:%M'), format_delay( $sec->dep_delay ), $sec->dep_loc->name ); - printf( "%10s%${have_delay}s %s → %s\n", - q{}, q{}, $sec->name, $sec->direction ); printf( "%-5s %-${have_delay}s an %s\n", $sec->arr_datetime->strftime('%H:%M'), |