From 628378784da47113536a1a14d173fd561a08cc2c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 15 Dec 2013 22:20:35 +0100 Subject: also apply -r to -f --- bin/aseag-m | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'bin') 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 } ) ] -- cgit v1.2.3