Sha256: cf3714841b06516794a5ef45646049d6b25db9b5c14d54f496c43ec04f140250

Contents?: true

Size: 531 Bytes

Versions: 7

Compression:

Stored size: 531 Bytes

Contents

# frozen_string_literal: true

# 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

7 entries across 7 versions & 1 rubygems

Version Path
aranha-0.6.0 test/dummy/config/initializers/to_time_preserves_timezone.rb
aranha-0.5.0 test/dummy/config/initializers/to_time_preserves_timezone.rb
aranha-0.4.0 test/dummy/config/initializers/to_time_preserves_timezone.rb
aranha-0.3.0 test/dummy/config/initializers/to_time_preserves_timezone.rb
aranha-0.2.1 test/dummy/config/initializers/to_time_preserves_timezone.rb
aranha-0.2.0 test/dummy/config/initializers/to_time_preserves_timezone.rb
aranha-0.1.0 test/dummy/config/initializers/to_time_preserves_timezone.rb