From 6f1e845fbb965e646a714b675f6639121162218b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Fri, 24 Sep 2021 21:08:41 +0200 Subject: [PATCH] Move time zone option to its right place It is supposed to be set in the place where there's a comment related to it, but we were setting it in another section of the configuration file. --- config/application.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/application.rb b/config/application.rb index 478276697..1ddf08893 100644 --- a/config/application.rb +++ b/config/application.rb @@ -55,7 +55,7 @@ module Consul # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. - # config.time_zone = 'Central Time (US & Canada)' + config.time_zone = "Madrid" # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] @@ -124,7 +124,6 @@ module Consul # Add lib to the autoload path config.autoload_paths << Rails.root.join("lib") - config.time_zone = "Madrid" config.active_job.queue_adapter = :delayed_job # CONSUL DEMOCRACY specific custom overrides