From d6e6c9992e85151ee12b9104bca647ce0e11782b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 27 Apr 2019 09:11:42 +0200 Subject: History: Only show months and years with logged journeys --- templates/history_by_month.html.ep | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'templates/history_by_month.html.ep') diff --git a/templates/history_by_month.html.ep b/templates/history_by_month.html.ep index 64d42c6..7aae59d 100644 --- a/templates/history_by_month.html.ep +++ b/templates/history_by_month.html.ep @@ -1,6 +1,4 @@ -% my $since = get_oldest_journey_ts(); -% my $now = DateTime->now(time_zone => 'Europe/Berlin'); -%= include '_history_months', current => "${year}/${month}", since => $since, now => $now; +%= include '_history_months', current => "${year}/${month}";

<%= stash('month_name') %> <%= stash('year') %>

-- cgit v1.2.3