instance method
utc_offset
Ruby on Rails 2.3.18
Since v2.2.3Signature
utc_offset()
No documentation comment.
Source
# File activesupport/lib/active_support/values/time_zone.rb, line 188
def utc_offset
if @utc_offset
@utc_offset
else
@current_period ||= tzinfo.current_period
@current_period.utc_offset
end
end
Defined in activesupport/lib/active_support/values/time_zone.rb line 188
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeZone