summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-03-04 10:25:16 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-03-04 10:25:16 +0100
commita7c31b6436302979808029486f66afa29b9f8eb5 (patch)
tree8d2fde670582b52857a712e234ea777929ec30bd
parent26814aa470e8773a8315bed1b1582293cd8a27e7 (diff)
_public_status_card: correctly calculate token1.30.3
-rw-r--r--templates/_public_status_card.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep
index 915efdc..e08775c 100644
--- a/templates/_public_status_card.html.ep
+++ b/templates/_public_status_card.html.ep
@@ -21,7 +21,7 @@
<div class="center-align countdown"
data-duration="<%= $journey->{journey_duration} // 0 %>"
% if (param('token')) {
- data-token="<%= $journey->{dep_eva} %>-<%= $journey->{timestamp}->epoch %>-<%= $journey->{sched_departure}->epoch %>"
+ data-token="<%= $journey->{dep_eva} %>-<%= $journey->{timestamp}->epoch % 337 %>-<%= $journey->{sched_departure}->epoch %>"
% }
data-arrival="<%= $journey->{real_arrival}->epoch %>">
% if ($journey->{departure_countdown} > 120) {