diff options
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/track-from-to | 2 |
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, |