2010/1/10 Johnny Shi johnny.t@gmail.com:
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?
I believe this has been discussed a number of times and my
understanding is that the only way
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
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 johnny.t@gmail.com wrote:
I want to set the Time.zone to the user's current time zone, I don't
want to
3 matches
Mail list logo