abbreviate month names

This commit is contained in:
Christophe Robillard 2026-02-26 11:04:01 +01:00
parent e21ec8d1c8
commit cc75be0a69

View file

@ -43,7 +43,7 @@
<div class="is-flex is-flex-direction-row is-flex-wrap-wrap mb-3"> <div class="is-flex is-flex-direction-row is-flex-wrap-wrap mb-3">
<% @history.each do |month| %> <% @history.each do |month| %>
<div class="mr-3"> <div class="mr-3">
<div> <%= I18n.l(month[:month], format: "%B %Y").capitalize %></div> <div> <%= I18n.l(month[:month], format: "%b %y").capitalize %></div>
<div class="is-flex is-flex-wrap-wrap"> <div class="is-flex is-flex-wrap-wrap">
<% month[:weeks].each do |week| %> <% month[:weeks].each do |week| %>
<div class="is-flex is-flex-direction-column is-flex-wrap-wrap mb-3"> <div class="is-flex is-flex-direction-column is-flex-wrap-wrap mb-3">