Hi Leigh,
It seems it takes the input as DD/MM/YYYY by default. that you need to
change to your convenient format.
Or
ask the user to input the date in DD/MM/YYYY format which is
default/current.

On Tue, Jul 12, 2011 at 4:15 PM, Leigh Daniels <[email protected]>wrote:

> Do you mean the user should type it in as MM/DD/YYYY or that there is a
> setting somewhere that I should change?
>
> **Leigh
>
> >your input format is DD/MM/YYYY. change this to MM/DD/YYYY.
> >
> >On Tue, Jul 12, 2011 at 6:45 AM, Leigh Daniels
> ><[email protected]>wrote:
> >
> >> Hi All,
> >>
> >> When I enter a Start Date in the text field as "07/11/2011" it gets
> stored
> >> in the database as "2011-11-07" instead of "2011-07-11".
> >>
> >> This change happens before the column is available in the controller. Is
> >> there some Rails setting that will make this happen magically or do I
> have
> >> to have some fun with date parsing?
> >>
> >> Thanks!
> >>
> >> **Leigh
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to