I have a rails form that that displays a date in a text_field:
<%= form.text_field :check_in_date %>
The date is rendered at yyyy-mm-dd
I'm trying to figure out how to have it display as mm-dd-yyyy
I tried adding this config but it didn't work.
ActiveSupport::CoreExtensions::Date::Conversions::DATE_FORMATS.merge!(
:default => '%m/%d/%Y'
)