summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-04-19 17:03:02 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-04-19 17:03:02 +0200
commit94ea5a089f91fb51b60d9cf1f2f8d822c4f2b54b (patch)
treeb93fc73bdf635beb0839735e7c0f2093ff96ada4 /templates
parent0a87135e35132fc6442add641b7862fbae294862 (diff)
Commute stats: count days, not journeys
Diffstat (limited to 'templates')
-rw-r--r--templates/commute.html.ep2
1 files changed, 1 insertions, 1 deletions
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}) {
<tr>
<td><%= $months->[$i] %></td>
- <td><%= scalar @{$journeys_by_month->{$i+1} // []} %></td>
+ <td><%= $count_by_month->{$i+1} // 0 %></td>
</tr>
% }
</tbody>