Flowdock
method

transfer_time_values_to_utc_constructor

Importance_0
transfer_time_values_to_utc_constructor(time) private

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/time_with_zone.rb, line 530
      def transfer_time_values_to_utc_constructor(time)
        # avoid creating another Time object if possible
        return time if time.instance_of?(::Time) && time.utc?
        ::Time.utc(time.year, time.month, time.day, time.hour, time.min, time.sec + time.subsec)
      end
Register or log in to add new notes.