On 23 August 2011 14:14, Frederick Cheung <[email protected]> wrote: > On Aug 23, 2:00 pm, Jim Ruther Nill <[email protected]> wrote: >> >> What I'm saying here is that the behavior changed from 3.0.3 to 3.0.10. >> Validating the user input >> is beside the point. What I'm pointing out is all time inputs that's going >> to be parsed by rails when >> the app is using 3.0.10 will be in UTC by default, even when you set the >> time zone to be anything >> other than UTC. >> > > First off, the times you give are 14 hours out not 10 (not sure if > that is relevant).
I don't think you are right there, Fred. Aug 23 2:52pm plus 10 hours is Aug 24, 00:52 Colin > Secondly, is what is in the params a string containing the entire date/ > time ?(as opposed to what you get if you use select_datetime, where > you get one parameter for each component) > If so then > https://github.com/rails/rails/commit/c5908a86492271ca55a6f54ccfd62b521cdc47c9 > seems to be the relevant change in rails > > Fred > > -- > 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.

