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.
This commit is contained in:
Javi Martín
2021-09-24 21:08:41 +02:00
parent f329537adc
commit 6f1e845fbb

View File

@@ -55,7 +55,7 @@ module Consul
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. # 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. # 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. # 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] # 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 # Add lib to the autoload path
config.autoload_paths << Rails.root.join("lib") config.autoload_paths << Rails.root.join("lib")
config.time_zone = "Madrid"
config.active_job.queue_adapter = :delayed_job config.active_job.queue_adapter = :delayed_job
# CONSUL DEMOCRACY specific custom overrides # CONSUL DEMOCRACY specific custom overrides