summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/track-from-to2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/track-from-to b/examples/track-from-to
index 7b8dc74..9df96e0 100755
--- a/examples/track-from-to
+++ b/examples/track-from-to
@@ -218,7 +218,7 @@ for my $d ( $status_f->results ) {
my $timestr = $d->time;
my $d_via = first { $_->train_id eq $d->train_id } $status_t->results;
- my $timestr_via = ($d_via ? $d_via->time : '??:??') . $delay;
+ my $timestr_via = ($d_via ? $d_via->arrival->strftime('%H:%M') : '??:??') . $delay;
push(
@output,