summaryrefslogtreecommitdiff
path: root/bin/hafas-m
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hafas-m')
-rwxr-xr-xbin/hafas-m3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/hafas-m b/bin/hafas-m
index 5b15117..2bf2e5a 100755
--- a/bin/hafas-m
+++ b/bin/hafas-m
@@ -514,7 +514,8 @@ for my $d (@results) {
. (
$stop->arr_cancelled
? '--:--'
- : $stop->arr->add( minutes => $d->delay // 0 )->strftime('%H:%M')
+ : $stop->arr->clone->add( minutes => $d->delay // 0 )
+ ->strftime('%H:%M')
);
}