Skip to content

Commit

Permalink
Use config.govuk_time_zone
Browse files Browse the repository at this point in the history
govuk_app_config insists on this now.

We could remove this config, as London is already the default, but
Guido says explicit is better than implicit.
  • Loading branch information
richardTowers committed Aug 2, 2024
1 parent 65fdfc6 commit 9db4e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Application < Rails::Application
config.i18n.raise_on_missing_translations = true
config.i18n.load_path += Dir[Rails.root.join("config/locales/**/*.yml")]
config.active_job.queue_adapter = :sidekiq
config.time_zone = "London"
config.govuk_time_zone = "London"
config.eager_load_paths << Rails.root.join("lib")
config.autoload_paths << Rails.root.join("lib")
config.exceptions_app = routes
Expand Down

0 comments on commit 9db4e99

Please sign in to comment.