I am using ActiveRecord in a project without rails. In rails I can do:
config.time_zone = 'Eastern Time (US & Canada)' config.active_record.default_timezone = 'Eastern Time (US & Canada)'
But if I do not use rails, how to set the time zone?
source share