summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-12-15 22:20:35 +0100
committerDaniel Friesel <derf@finalrewind.org>2013-12-15 22:20:35 +0100
commit628378784da47113536a1a14d173fd561a08cc2c (patch)
treeffa600297ba101eaef4e37a1803ee23f28f40ce0 /bin
parent85af20955c828eb7bfb435d8afa3770d9198e955 (diff)
also apply -r to -f
Diffstat (limited to 'bin')
-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 }
)
]