marudor.de train link: Use ISO8601 datetime; specify station eva id

This commit is contained in:
Daniel Friesel 2021-03-08 21:02:39 +01:00
parent 0358cd51d5
commit 74ae9825bf

View file

@ -77,7 +77,7 @@
% @wagons = reverse @wagons;
% }
% }
<a href="https://marudor.de/details/<%= $journey->{train_type} %>%20<%= $journey->{train_no} %>/<%= DateTime->now(time_zone => 'Europe/Berlin')->epoch %>000">
<a href="https://marudor.de/details/<%= $journey->{train_type} %>%20<%= $journey->{train_no} %>/<%= DateTime->now(time_zone => 'Europe/Berlin')->iso8601 %>?station=<%= $journey->{dep_eva} %>">
%= $direction
% for my $wagon (@wagons) {
% if (not ($wagon->is_locomotive or $wagon->is_powercar)) {