Skip to content
Snippets Groups Projects
Unverified Commit 20c8859c authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

clean up output a bit

parent 20e896f5
No related branches found
No related tags found
No related merge requests found
......@@ -295,7 +295,7 @@ for my $res ( @{ $hafas->{results} } ) {
}
printf(
"# %02d:%02d %s %s\n",
"%02d:%02d %s %s\n",
$res->duration->in_units( 'hours', 'minutes' ),
display_occupancies( $res->load ), $glance
);
......@@ -314,7 +314,7 @@ for my $res ( @{ $hafas->{results} } ) {
for my $sec ( $res->sections ) {
if ( $sec->type eq 'JNY' ) {
printf( "%s → %s\n", $sec->name, $sec->direction );
printf( "\033[1m%s\033[0m → %s\n", $sec->name, $sec->direction );
printf(
"%-5s %-${have_delay}s ab %s\n",
$sec->dep_datetime->strftime('%H:%M'),
......
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