Ruby on Rails Thursday, March 31, 2011

On 30 March 2011 20:06, Coderama <prime.coderama@gmail.com> wrote:
> I want to save my datetime and display it using a user's TimeZone
> ignoring DST at all times. Is this possible?

Do you know what the user's timezone is? If so then take the timezone
offset (which is distinct from the DST setting) and calculate the time
accordingly.

Colin

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment