aboutsummaryrefslogtreecommitdiffstats
path: root/config/environment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/environment.rb')
-rw-r--r--config/environment.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/environment.rb b/config/environment.rb
index 3ce887c03..8076464a5 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -77,6 +77,12 @@ Rails::Initializer.run do |config|
# Make Active Record use UTC-base instead of local time
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
require 'routing_filters.rb'
end