Flowdock
method

to_time_preserves_timezone=

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ActiveSupport
to_time_preserves_timezone=(value) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support.rb, line 116
  def self.to_time_preserves_timezone=(value)
    unless value
      ActiveSupport.deprecator.warn(
        "Support for the pre-Ruby 2.4 behavior of to_time has been deprecated and will be removed in Rails 7.2."
      )
    end

    DateAndTime::Compatibility.preserve_timezone = value
  end
Register or log in to add new notes.