summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-07-23 05:47:07 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2025-07-23 05:47:07 +0200
commit3df6d2418f3f9d0721231a5d75879d4c54b3221c (patch)
tree4d5bba6afc1ccfe02ba880b754f84b6e07d099ff
parente8324085c9698f12957632ee99f5d184c91529ab (diff)
journey: share: timestamps are always int
-rw-r--r--templates/journey.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/journey.html.ep b/templates/journey.html.ep
index c1efe44..a3b7e7b 100644
--- a/templates/journey.html.ep
+++ b/templates/journey.html.ep
@@ -325,7 +325,7 @@
data-url="<%= url_for('public_journey', name => current_user()->{name}, id => $journey->{id} )->to_abs->scheme('https'); %>"
% }
% else {
- data-url="<%= url_for('public_journey', name => current_user()->{name}, id => $journey->{id} )->to_abs->scheme('https'); %>?token=<%= $journey->{from_eva} %>-<%= $journey->{checkin_ts} % 337 %>-<%= $journey->{sched_dep_ts} %>"
+ data-url="<%= url_for('public_journey', name => current_user()->{name}, id => $journey->{id} )->to_abs->scheme('https'); %>?token=<%= $journey->{from_eva} %>-<%= $journey->{checkin_ts} % 337 %>-<%= int($journey->{sched_dep_ts}) %>"
% }
data-text="<%= stash('share_text') %>"
>