Displaying 1 result from an estimated 1 matches for "b3nperry".
2011 Jul 13
14
Using timezone javascript to set Time.zone
I''ve got a javascript that provides me with the timezone for the
client. I want to use this to set Time.zone so that all my times
stored in the database are displayed in the timezone for the client.
So really simplistically
var timezone = jstz.determine_timezone().timezone
Time.zone = timezone.olson_tz
obviously this can''t be done. I''ve taken a look on the web and can