Commit 216dd7c7 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

history: Fix missing months for users registered on the 29th/30th/31st

parent a1109bfc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
				% my $link_to = $since->strftime('%Y/%m');
				% my $class = $link_to eq $ref ? 'active' : 'waves-effect';
				<li class="<%= $class %>"><a href="/history/<%= $link_to %>"><%= $since->strftime('%m.%Y') %></a></li>
				% $since->add(months => 1);
				% $since->add(months => 1)->set(day => 1, hour => 0, minute => 0, second => 0);
			% }
			<!--<li class="disabled"><a href="#!"><i class="material-icons">chevron_right</i></a></li>-->
		</ul>