method

default_timezone=

Importance_1
v7.0.0 - Show latest stable - 0 notes - Class: ActiveRecord
default_timezone=(default_timezone) public

Determines whether to use Time.utc (using :utc) or Time.local (using :local) when pulling dates and times from the database. This is set to :utc by default.

Show source
Register or log in to add new notes.