noosfero | Revert "Set default timezone as needed by rails 3.2"

Antonio Terceiro gitlab at gitlab.com
Wed Jan 28 12:04:40 BRST 2015


Antonio Terceiro pushed to refs/heads/master at <a href="https://gitlab.com/noosfero/noosfero">Noosfero / noosfero</a>

Commits:
<a href="https://gitlab.com/noosfero/noosfero/commit/4c229767b8864713d545ee96e09844b829afd321">4c229767</a> by Antonio Terceiro
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

- - - - -


Changes:

=====================================
config/application.rb
=====================================
--- a/config/application.rb
+++ b/config/application.rb
@@ -113,9 +113,6 @@ module Noosfero
     config.secret_token = noosfero_session_secret
     config.session_store :cookie_store, :key => '_noosfero_session'
 
-    config.time_zone = File.read('/etc/timezone').split("\n").first
-    config.active_record.default_timezone = :local
-
     config.paths['db/migrate'] += Dir.glob "#{Rails.root}/{baseplugins,config/plugins}/*/db/migrate"
     config.i18n.load_path += Dir.glob "#{Rails.root}/{baseplugins,config/plugins}/*/locales/*.{rb,yml}"
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150128/2f8c13dd/attachment.html>


More information about the Noosfero-dev mailing list