Sha256: 6e347f963095711cdabaf2e94b6f4dd721f7f8384e312f1a07c6836f3cb274b5

Contents?: true

Size: 500 Bytes

Versions: 481

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

481 entries across 479 versions & 52 rubygems

Version Path
apidae-2.0.3 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.4.15 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.4.14 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-2.0.2 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-2.0.1 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-2.0.0 test/dummy/config/initializers/to_time_preserves_timezone.rb
building_sync_rails-0.1.1 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.4.13 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.4.12 test/dummy/config/initializers/to_time_preserves_timezone.rb
apidae-1.4.11 test/dummy/config/initializers/to_time_preserves_timezone.rb
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