Flowdock
method

incorporate_utc_offset

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ActiveSupport::TimeWithZone
incorporate_utc_offset(time, offset) 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 549
      def incorporate_utc_offset(time, offset)
        if time.kind_of?(Date)
          time + Rational(offset, SECONDS_PER_DAY)
        else
          time + offset
        end
      end
Register or log in to add new notes.