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
apidae-1.3.7 test/dummy/config/initializers/to_time_preserves_timezone.rb
cypress-on-rails-1.12.1 spec/integrations/rails_4_2/config/initializers/to_time_preserves_timezone.rb
apidae-1.2.27 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.2.26 test/dummy/config/initializers/to_time_preserves_timezone.rb
defra_ruby_mocks-2.2.0 spec/dummy/config/initializers/to_time_preserves_timezone.rb
cypress-on-rails-1.12.0 spec/integrations/rails_4_2/config/initializers/to_time_preserves_timezone.rb
apidae-1.2.25 test/dummy/config/initializers/to_time_preserves_timezone.rb
caravaggio-0.0.14 test/dummy/config/initializers/to_time_preserves_timezone.rb
caravaggio-0.0.13 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.2.24 test/dummy/config/initializers/to_time_preserves_timezone.rb
caravaggio-0.0.12 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.3.6 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.2.23 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.2.22 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-0.9.32 test/dummy/config/initializers/to_time_preserves_timezone.rb
defra_ruby_mocks-2.1.0 spec/dummy/config/initializers/to_time_preserves_timezone.rb
defra_ruby_email-1.2.0 spec/dummy/config/initializers/to_time_preserves_timezone.rb
cypress-on-rails-1.11.0 spec/integrations/rails_4_2/config/initializers/to_time_preserves_timezone.rb
apidae-1.2.21 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.2.20 test/dummy/config/initializers/to_time_preserves_timezone.rb