simple_calendar
simple_calendar copied to clipboard
Feature Request: Add a "Today" button between "Previous" and "Next"
The title explains it all. The implementation would be as simple as this in lib/simple_calendar/simple_calendar.rb
:
def url_for_today_view
view_context.url_for(@params.merge(start_date_param => Date.current.iso8601))
end
Happy to push a Pull Request if needed
That would be a nice addition. 👍 PR is welcome!
@excid3 PR is here: https://github.com/excid3/simple_calendar/pull/273