Method deprecated
This method is deprecated on the latest stable version of Rails.
The last existing version (v2.1.0) is shown here.
formatted_offset(colon=true, alternate_utc_string = nil)
public
Returns the offset of this time zone as a formatted string, of the format
"+HH:MM".
Show source
def formatted_offset(colon=true, alternate_utc_string = nil)
utc_offset == 0 && alternate_utc_string || utc_offset.to_utc_offset_s(colon)
end