Commit 4c229767b8864713d545ee96e09844b829afd321
1 parent
0645fc42
Exists in
master
and in
29 other branches
Revert "Set default timezone as needed by rails 3.2"
This actually breaks things. See the discussion on !430 https://gitlab.com/noosfero/noosfero/merge_requests/430
Showing
1 changed file
with
0 additions
and
3 deletions
Show diff stats
config/application.rb
... | ... | @@ -113,9 +113,6 @@ module Noosfero |
113 | 113 | config.secret_token = noosfero_session_secret |
114 | 114 | config.session_store :cookie_store, :key => '_noosfero_session' |
115 | 115 | |
116 | - config.time_zone = File.read('/etc/timezone').split("\n").first | |
117 | - config.active_record.default_timezone = :local | |
118 | - | |
119 | 116 | config.paths['db/migrate'] += Dir.glob "#{Rails.root}/{baseplugins,config/plugins}/*/db/migrate" |
120 | 117 | config.i18n.load_path += Dir.glob "#{Rails.root}/{baseplugins,config/plugins}/*/locales/*.{rb,yml}" |
121 | 118 | ... | ... |