You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first calendar_for example in the readme will output a misleading / inaccurate calendar, owing to the default value of first_day_of_week being 0 (i.e. Sunday).
I think the doc should either read:
<%= t.head('sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat') %>
Or show the first_day_of_week symbol being passed:
<% calendar_for(@tasks, :first_day_of_week => 1) %>
The text was updated successfully, but these errors were encountered:
The first calendar_for example in the readme will output a misleading / inaccurate calendar, owing to the default value of first_day_of_week being 0 (i.e. Sunday).
I think the doc should either read:
<%= t.head('sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat') %>
Or show the first_day_of_week symbol being passed:
<% calendar_for(@tasks, :first_day_of_week => 1) %>
The text was updated successfully, but these errors were encountered: