method
formatted_offset
v3.1.0 -
Show latest stable
- Class:
ActiveSupport::TimeWithZone
formatted_offset(colon = true, alternate_utc_string = nil)public
No documentation available.
# File activesupport/lib/active_support/time_with_zone.rb, line 97
def formatted_offset(colon = true, alternate_utc_string = nil)
utc? && alternate_utc_string || TimeZone.seconds_to_utc_offset(utc_offset, colon)
end