2019-04-26 17:53:01 +00:00
|
|
|
% my $since = get_oldest_journey_ts();
|
2019-04-07 16:44:33 +00:00
|
|
|
% my $now = DateTime->now(time_zone => 'Europe/Berlin');
|
|
|
|
%= include '_history_months', current => "${year}/${month}", since => $since, now => $now;
|
|
|
|
|
|
|
|
<h1><%= stash('month_name') %> <%= stash('year') %></h1>
|
|
|
|
|
|
|
|
% if (stash('statistics')) {
|
|
|
|
%= include '_history_stats', stats => stash('statistics');
|
|
|
|
% }
|
|
|
|
|
|
|
|
% if (stash('journeys')) {
|
2019-04-26 17:53:01 +00:00
|
|
|
%= include '_history_trains', date_format => '%d.%m.', journeys => stash('journeys');
|
2019-04-07 16:44:33 +00:00
|
|
|
% }
|