Skip to content

Commit

Permalink
Opt-in to new 'to_time' behavior (i.e. preserve receiver timezone)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippthun committed Feb 4, 2025
1 parent 466bc72 commit 1a3d6f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class Application < Rails::Application
Rails.autoloaders.main.ignore(Rails.root.join('app/**/*'))

config.active_support.cache_format_version = 7.0
config.active_support.to_time_preserves_timezone = :zone

config.generators do |g|
g.orm false
Expand Down

0 comments on commit 1a3d6f4

Please sign in to comment.