summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/aseag-m10
1 files changed, 7 insertions, 3 deletions
diff --git a/bin/aseag-m b/bin/aseag-m
index e0ac784..ed5b041 100755
--- a/bin/aseag-m
+++ b/bin/aseag-m
@@ -125,9 +125,13 @@ sub show_results {
join(
"\n",
map {
- sprintf( '%s %s',
- $_->[0]->strftime($strftime_format),
- $_->[1] )
+ sprintf(
+ '%s %s',
+ $dt_format->format_duration(
+ $_->[0]->subtract_datetime($dt_now)
+ ),
+ $_->[1]
+ )
} @{ $d->route_timetable }
)
]