From 216dd7c7ad71667737b38ca38479b10833077f93 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 6 Apr 2019 23:57:54 +0200 Subject: history: Fix missing months for users registered on the 29th/30th/31st --- templates/history.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/history.html.ep') diff --git a/templates/history.html.ep b/templates/history.html.ep index 1e565e6..e65d31f 100644 --- a/templates/history.html.ep +++ b/templates/history.html.ep @@ -9,7 +9,7 @@ % my $link_to = $since->strftime('%Y/%m'); % my $class = $link_to eq $ref ? 'active' : 'waves-effect';
  • <%= $since->strftime('%m.%Y') %>
  • - % $since->add(months => 1); + % $since->add(months => 1)->set(day => 1, hour => 0, minute => 0, second => 0); % } -- cgit v1.2.3