aboutsummaryrefslogtreecommitdiffstats
path: root/config/environment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/environment.rb')
-rw-r--r--config/environment.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/environment.rb b/config/environment.rb
index 8611dd1b6..8076464a5 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -78,6 +78,9 @@ Rails::Initializer.run do |config|
config.active_record.default_timezone = :utc
# This is the timezone that times and dates are displayed in
+ # Note that having set a zone, the Active Record
+ # time_zone_aware_attributes flag is on, so times from models
+ # will be in this time zone
config.time_zone = Configuration::time_zone
config.after_initialize do