method

default_timezone

rails latest stable - Class: ActiveModel::Type::Helpers::TimeValue

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.1.7) is shown here.

default_timezone()
public

No documentation available.

# File activemodel/lib/active_model/type/helpers/time_value.rb, line 26
        def default_timezone
          if is_utc?
            :utc
          else
            :local
          end
        end