history: Fix missing months for users registered on the 29th/30th/31st
This commit is contained in:
parent
a1109bfce0
commit
216dd7c7ad
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
% my $link_to = $since->strftime('%Y/%m');
|
% my $link_to = $since->strftime('%Y/%m');
|
||||||
% my $class = $link_to eq $ref ? 'active' : 'waves-effect';
|
% my $class = $link_to eq $ref ? 'active' : 'waves-effect';
|
||||||
<li class="<%= $class %>"><a href="/history/<%= $link_to %>"><%= $since->strftime('%m.%Y') %></a></li>
|
<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>-->
|
<!--<li class="disabled"><a href="#!"><i class="material-icons">chevron_right</i></a></li>-->
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue