summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hafas-m7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/hafas-m b/bin/hafas-m
index 3f6972c..47dbd07 100755
--- a/bin/hafas-m
+++ b/bin/hafas-m
@@ -384,12 +384,13 @@ elsif ( $opt{journey} ) {
printf( "%s → %s", $result->name, $result->route_end );
if ( $result->number ) {
- printf( " | Zug %s", $result->number );
+ printf( " / Zug %s", $result->number );
}
if ( $result->line_no ) {
- printf( " | Linie %s", $result->line_no );
+ printf( " / Linie %s", $result->line_no );
}
- say q{};
+ printf( "\nFahrt %s am %s\n\n",
+ $result->id, ( $result->route )[0]->sched_dep->strftime('%d.%m.%Y') );
my $delay_len = 0;
my $delay_fmt = 0;