Rails time zone selector: intelligently selecting a default
- by Tim Sullivan
When signing up for an account on one of my apps, we need to store the time zone is in. We're using the time zone selector, which is fine, but I'd like to set the default value to something that it likely the user's current time zone.
Is there an easy way, either on the server or using JavaScript, to set the time zone selector to the time zone the user is currently in?