From fe0e9e23163308ae772c9c29ae2115a9c02757d1 Mon Sep 17 00:00:00 2001 From: Christophe Robillard Date: Sun, 8 Feb 2026 17:24:47 +0100 Subject: [PATCH] display date for selected day --- 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 c2b5552..e1af82e 100644 --- a/app/views/moods/index.html.erb +++ b/app/views/moods/index.html.erb @@ -47,7 +47,7 @@
<% week.each do |mood| %> <% mode = mode_for(mood) %> -
" data-mode="<%= mode %>" data-day="<%= l mood[:recorded_at] %>" data-action="click->mood#updateDayInfo mouseover->mood#updateDayInfo mouseleave->mood#removeFeedback" title="<%= mood[:recorded_at] %> : <%= mode %>" class="day <%= mode %>">
+
" data-mode="<%= mode %>" data-day="<%= l mood[:recorded_at].to_date %>" data-action="click->mood#updateDayInfo mouseover->mood#updateDayInfo mouseleave->mood#removeFeedback" title="<%= mood[:recorded_at] %> : <%= mode %>" class="day <%= mode %>">
<% end %>
<% end %>