instance method
formatted_offset
Ruby on Rails 2.2.3
Since v2.2.3Signature
formatted_offset(colon = true, alternate_utc_string = nil)
No documentation comment.
Parameters
-
colonopt = true -
alternate_utc_stringopt = nil
Source
# File activesupport/lib/active_support/time_with_zone.rb, line 88
def formatted_offset(colon = true, alternate_utc_string = nil)
utc? && alternate_utc_string || utc_offset.to_utc_offset_s(colon)
end
Defined in activesupport/lib/active_support/time_with_zone.rb line 88
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeWithZone