Hi,
I have an input field that captures a date in my form
<%= f.text_field :from_date, :style => 'width:80px;' %>
The user enters the date in the following format MM/DD/YYYY. However, when there is a validation error in the model and the form is displayed back to the user with the entered values, the date format is converted to YYYY-MM-DD HH:MM:SS UTC. Where do I format this to show MM/DD/YYYY, when the form is displayed to the user.
thanks.