mirror of
https://github.com/derf/travelynx
synced 2024-11-30 08:20:18 +00:00
_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"
|
||||
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) {
|
||||
|
|
Loading…
Reference in a new issue