From 94ea5a089f91fb51b60d9cf1f2f8d822c4f2b54b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 19 Apr 2020 17:03:02 +0200 Subject: Commute stats: count days, not journeys --- templates/commute.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/commute.html.ep b/templates/commute.html.ep index ef1c7ab..476f6e7 100644 --- a/templates/commute.html.ep +++ b/templates/commute.html.ep @@ -75,7 +75,7 @@ % for my $i (0 .. $#{$months}) { <%= $months->[$i] %> - <%= scalar @{$journeys_by_month->{$i+1} // []} %> + <%= $count_by_month->{$i+1} // 0 %> % } -- cgit v1.2.3