Sha256: 6e347f963095711cdabaf2e94b6f4dd721f7f8384e312f1a07c6836f3cb274b5

Contents?: true

Size: 500 Bytes

Versions: 471

Compression:

Stored size: 500 Bytes

Contents

# Be sure to restart your server when you modify this file.

# Preserve the timezone of the receiver when calling to `to_time`.
# Ruby 2.4 will change the behavior of `to_time` to preserve the timezone
# when converting to an instance of `Time` instead of the previous behavior
# of converting to the local system timezone.
#
# Rails 5.0 introduced this config option so that apps made with earlier
# versions of Rails are not affected when upgrading.
ActiveSupport.to_time_preserves_timezone = true

Version data entries

471 entries across 469 versions & 52 rubygems

Version Path
apidae-1.4.10 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.4.9 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.4.8 test/dummy/config/initializers/to_time_preserves_timezone.rb
deforest-1.1.1 test/dummy/config/initializers/to_time_preserves_timezone.rb
deforest-1.1.0 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.4.7 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.4.6 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.4.5 test/dummy/config/initializers/to_time_preserves_timezone.rb
building_sync_rails-0.1.0 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.4.4 test/dummy/config/initializers/to_time_preserves_timezone.rb
cypress-on-rails-1.17.0 specs_e2e/rails_4_2/config/initializers/to_time_preserves_timezone.rb
apidae-1.4.3 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.2.35 test/dummy/config/initializers/to_time_preserves_timezone.rb
cypress-on-rails-1.16.0 specs_e2e/rails_4_2/config/initializers/to_time_preserves_timezone.rb
deforest-1.0.2 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.2.34 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.2.33 test/dummy/config/initializers/to_time_preserves_timezone.rb
cypress-on-rails-1.15.1 specs_e2e/rails_4_2/config/initializers/to_time_preserves_timezone.rb
cypress-on-rails-1.15.0 specs_e2e/rails_4_2/config/initializers/to_time_preserves_timezone.rb
defra_ruby_mocks-2.4.2 spec/dummy/config/initializers/to_time_preserves_timezone.rb