_public_status_card: correctly calculate token
This commit is contained in:
parent
26814aa470
commit
a7c31b6436
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
||||||
<div class="center-align countdown"
|
<div class="center-align countdown"
|
||||||
data-duration="<%= $journey->{journey_duration} // 0 %>"
|
data-duration="<%= $journey->{journey_duration} // 0 %>"
|
||||||
% if (param('token')) {
|
% 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 %>">
|
data-arrival="<%= $journey->{real_arrival}->epoch %>">
|
||||||
% if ($journey->{departure_countdown} > 120) {
|
% if ($journey->{departure_countdown} > 120) {
|
||||||
|
|
Loading…
Reference in a new issue