Rails Engine which sets the Rails timezone to the browser's configured timezone for each request.
Add it to your Gemfile.
//= require browser_timezone_rails/application.js
The cookie is set each full page request and lives for 365 days
Yes. It uses the Rails Time.zone method which is thread safe.
To run the tests, invoke
bundle exec rspec.