diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-03-08 21:02:39 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-03-08 21:02:39 +0100 |
commit | 74ae9825bf3c70f40a437e74e6db566edc110aa5 (patch) | |
tree | d4bc5b7442edbe18ce5e94f086a6054e20ab41af | |
parent | 0358cd51d5f19801e52f2c7f7e5a692066646d93 (diff) |
marudor.de train link: Use ISO8601 datetime; specify station eva id1.19.8
-rw-r--r-- | templates/_checked_in.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index e81de60..76d11bc 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -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)) { |