From 801b9332bd920871e8c5848642305f282f9a5b49 Mon Sep 17 00:00:00 2001 From: Christophe Robillard Date: Thu, 26 Feb 2026 11:04:55 +0100 Subject: [PATCH] localize selected day title --- app/views/moods/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/moods/index.html.erb b/app/views/moods/index.html.erb index 292e885..db55032 100644 --- a/app/views/moods/index.html.erb +++ b/app/views/moods/index.html.erb @@ -49,7 +49,7 @@
<% week.each do |mood| %> <% mode = mode_for(mood) %> -
" data-mode="<%= mode %>" data-day="<%= l mood[:recorded_at].to_date %>" data-action="click->mood#updateDayInfo" title="<%= mood[:recorded_at] %> : <%= mode %>" class="day <%= mode %>">
+
" data-mode="<%= mode %>" data-day="<%= l mood[:recorded_at].to_date %>" data-action="click->mood#updateDayInfo" title="<%= l(mood[:recorded_at].to_date) %> : <%= mode %>" class="day <%= mode %>">
<% end %>
<% end %>