Closed edenisn closed 6 years ago
@edenisn you can just put an if statement in your block to check what day of the week it is.
<%= month_calendar events: @meetings do |date, meetings| %>
<%= date %>
<% if date.monday? || date.thursday? %>
<% meetings.each do |meeting| %>
<div>
<%= meeting.name %>
</div>
<% end %>
<% end %>
<% end %>
Thanks for this gem!
How to show events only on certain days of the week (for example: monday and thuesday) in multi-event month calendar?