diff options
author | Daniel Friesel <derf@finalrewind.org> | 2013-12-15 22:20:35 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2013-12-15 22:20:35 +0100 |
commit | 628378784da47113536a1a14d173fd561a08cc2c (patch) | |
tree | ffa600297ba101eaef4e37a1803ee23f28f40ce0 | |
parent | 85af20955c828eb7bfb435d8afa3770d9198e955 (diff) |
also apply -r to -f
-rwxr-xr-x | bin/aseag-m | 10 |
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 } ) ] |