summaryrefslogtreecommitdiff
path: root/templates/_connections_hafas.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_connections_hafas.html.ep')
-rw-r--r--templates/_connections_hafas.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_connections_hafas.html.ep b/templates/_connections_hafas.html.ep
index 9322116..48a5380 100644
--- a/templates/_connections_hafas.html.ep
+++ b/templates/_connections_hafas.html.ep
@@ -9,7 +9,7 @@
% $link_class = 'action-cancelled-from';
% }
% if ($checkin_from) {
- <tr class="<%= $link_class %>" data-station="<%= $train->station_eva %>" data-train="<%= $train->id %>" data-dest="<%= $via->{name} %>">
+ <tr class="<%= $link_class %>" data-station="<%= $train->station_eva %>" data-train="<%= $train->id %>" data-ts="<%= ($train->sched_datetime // $train->datetime)->epoch %>" data-dest="<%= $via->{name} %>">
% }
% else {
<tr>