diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-12-02 19:21:00 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-12-02 19:21:00 +0100 |
commit | c1bfa037bbcc93b9586939dba90eb1a01ae23bd4 (patch) | |
tree | 2706f1414eda65284a07ee7fcbcfd867bc9c7c3c | |
parent | 715083fe6a209e44160a2fc47e3ddb9888525c77 (diff) |
hafas-m: do not alter $stop->arr in --via mode
-rwxr-xr-x | bin/hafas-m | 3 |
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') ); } |