summaryrefslogtreecommitdiff
path: root/templates/history.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-06 23:57:54 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-06 23:57:54 +0200
commit216dd7c7ad71667737b38ca38479b10833077f93 (patch)
tree06c010b8f88f0bc2a714a1d9cd11136e53fd297b /templates/history.html.ep
parenta1109bfce0d1df2fe1ba0cc151aec226b2159304 (diff)
history: Fix missing months for users registered on the 29th/30th/31st
Diffstat (limited to 'templates/history.html.ep')
-rw-r--r--templates/history.html.ep2
1 files changed, 1 insertions, 1 deletions
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';
<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>