Ruby on Rails latest stable (v4.2.7) - 1 note - 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.

These similar methods exist in v4.2.7:

new(name, utc_offset, tzinfo = nil) public

Create a new TimeZone object with the given name and offset. The offset is the number of seconds that this time zone is offset from UTC (GMT). Seconds were chosen as the offset unit because that is the unit that Ruby uses to represent time zone offsets (see Time#utc_offset).

Show source
Register or log in to add new notes.