Skip to Content Skip to Search
Methods
D
I

Instance Public methods

default_timezone()

# File activerecord/lib/active_record/type/internal/timezone.rb, line 11
def default_timezone
  ActiveRecord.default_timezone
end

is_utc?()

# File activerecord/lib/active_record/type/internal/timezone.rb, line 7
def is_utc?
  ActiveRecord.default_timezone == :utc
end