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 2b9f01d commit 71f1c97
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 @@ -39,7 +39,7 @@ class Application < Rails::Application
# These settings can be overridden in specific environments using the files
# in config/environments, which are processed later.

config.time_zone = "London"
config.govuk_time_zone = "London"

# 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]
Expand Down

0 comments on commit 71f1c97

Please sign in to comment.