I found this solution: 
http://spongetech.wordpress.com/2009/02/27/detecting-browser-time-zone-with-rails/#comment-725
Basically, it selects the good timezone by checking the a timezone is
currently in DST and by comparing the given offset with its own one.

This solution seems to work (have to make more tests) but feels bad.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to