From c60a5e0f12ed0a98d577f7a72603d2cc3d079acc Mon Sep 17 00:00:00 2001 From: Vladimir Rubin Date: Sun, 22 Dec 2024 22:53:56 +0200 Subject: [PATCH] fix: wrong day of the week --- lib/exmr_web/live/exam_live/index.html.heex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/exmr_web/live/exam_live/index.html.heex b/lib/exmr_web/live/exam_live/index.html.heex index a80ae44..6d69e74 100644 --- a/lib/exmr_web/live/exam_live/index.html.heex +++ b/lib/exmr_web/live/exam_live/index.html.heex @@ -67,7 +67,7 @@ <% end %> - <%= for _ <- 1..(Date.day_of_week(@current_month) - 1) do %> + <%= for _ <- 1..(Date.day_of_week(@current_month)) do %>
<% end %>