method

formatted_offset

rails latest stable - Class: TimeZone

Method deprecated or moved

This method is deprecated or moved on the latest stable version. 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".