Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
date_select’s :discard_month and :discard_day choose different default days #937
Imported from Lighthouse. Original ticket at: http://rails.lighthouseapp.com/projects/8994/tickets/6589
However, when setting
Which behaviour is correct? Either way, that feels like a bug.
Imported from Lighthouse.
Edward, it is not a bug. It is how it is designed: https://github.com/rails/rails/blob/master/actionpack/lib/action_view/helpers/date_helper.rb#L619
Yes, maybe it looks strange a bit, but I don't think that it is a good idea to change it now.