diff options
Diffstat (limited to 'lib/Travelynx/Command/work.pm')
-rw-r--r-- | lib/Travelynx/Command/work.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Travelynx/Command/work.pm b/lib/Travelynx/Command/work.pm index a4a98e6..115be2e 100644 --- a/lib/Travelynx/Command/work.pm +++ b/lib/Travelynx/Command/work.pm @@ -164,7 +164,8 @@ sub run { ); } else { - $self->app->add_route_timestamps( $uid, $train, 0 ); + $self->app->add_route_timestamps( $uid, $train, 0, + $now->epoch > $entry->{real_arr_ts} ); } } elsif ( $entry->{real_arr_ts} ) { |