zone() public

Returns the time zone abbreviation.

Time.zone = 'Eastern Time (US & Canada)' # => "Eastern Time (US & Canada)" Time.zone.now.zone # => "EST"
Show source
Register or log in to add new notes.