Sha256: 6e347f963095711cdabaf2e94b6f4dd721f7f8384e312f1a07c6836f3cb274b5

Contents?: true

Size: 500 Bytes

Versions: 477

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

477 entries across 475 versions & 52 rubygems

Version Path
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
cypress-on-rails-1.14.0 specs_e2e/rails_4_2/config/initializers/to_time_preserves_timezone.rb
defra_ruby_mocks-2.4.1 spec/dummy/config/initializers/to_time_preserves_timezone.rb
defra_ruby_mocks-2.4.0 spec/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.4.2 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.4.1 test/dummy/config/initializers/to_time_preserves_timezone.rb
deforest-1.0.1 test/dummy/config/initializers/to_time_preserves_timezone.rb
deforest-1.0.0 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.4.0 test/dummy/config/initializers/to_time_preserves_timezone.rb
deforest-0.0.1 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.2.32 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.2.31 test/dummy/config/initializers/to_time_preserves_timezone.rb
preserve-2.1.0 spec/dummy/rails-4/config/initializers/to_time_preserves_timezone.rb
apidae-1.2.30 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.3.18 test/dummy/config/initializers/to_time_preserves_timezone.rb