Flowdock
method

convert_time_to_time_zone

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: TimeZoneConverter
convert_time_to_time_zone(value) private

No documentation

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

Hide source
# File activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb, line 34
          def convert_time_to_time_zone(value)
            return if value.nil?

            if value.acts_like?(:time)
              value.in_time_zone
            elsif value.is_a?(::Float)
              value
            else
              map_avoiding_infinite_recursion(value) { |v| convert_time_to_time_zone(v) }
            end
          end
Register or log in to add new notes.