Correct me if i am wrong, but current_user.time_zone will require you store the time_zone under user profile.
On Jan 10, 5:35 pm, Rodrigo Dellacqua <[email protected]> wrote: > hmm.. doesn't that come in the Request? > > Or maybe current_user.time_zone? > > Just a couple thoughts, I don't really know. > > []'s > Rodrigo Dellacqua > > On Sun, Jan 10, 2010 at 8:31 PM, Johnny Shi <[email protected]> wrote: > > I want to set the Time.zone to the user's current time zone, I don't > > want to store the timezone in user profile like many other solutions. > > How to do that? > > > Thanks > > > -- > > 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]<rubyonrails-talk%[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.

