On Tue, Aug 23, 2011 at 9:14 PM, 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). > hmm.. i think it's 10 hours. > 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 > > Wow! thanks for this. I'll take a look and report back. Thanks! > 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. > > -- ------------------------------------------------------------- visit my blog at http://jimlabs.heroku.com -- 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.

