diff options
Diffstat (limited to 'templates/_departures_hafas.html.ep')
-rw-r--r-- | templates/_departures_hafas.html.ep | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/_departures_hafas.html.ep b/templates/_departures_hafas.html.ep index 6e1641f..169b319 100644 --- a/templates/_departures_hafas.html.ep +++ b/templates/_departures_hafas.html.ep @@ -1,7 +1,7 @@ <table class="striped departures"> <tbody> % my $orientation_bar_shown = param('train'); -% my $now_epoch = now()->epoch; +% my $now_epoch = now->epoch; % for my $result (@{$results}) { % my $td_class = ''; % my $link_class = 'action-checkin'; @@ -15,10 +15,11 @@ <td> </td> <td> - — Anfragezeitpunkt — - </td> - <td> + <strong>— Anfragezeitpunkt —</strong> </td> + <td><strong> + %= now->strftime('%H:%M') + </strong></td> </tr> % } <tr class="<%= $link_class %>" data-station="<%= $result->station_eva %>" data-train="<%= $result->id %>" data-ts="<%= ($result->sched_datetime // $result->datetime)->epoch %>" data-tr="3"> |