Module: ActiveRecord::Type::Internal::Timezone
Instance Method Summary collapse
Instance Method Details
#default_timezone ⇒ Object
11 12 13 |
# File 'lib/active_record/type/internal/timezone.rb', line 11 def default_timezone ActiveRecord::Base.default_timezone end |
#is_utc? ⇒ Boolean
7 8 9 |
# File 'lib/active_record/type/internal/timezone.rb', line 7 def is_utc? ActiveRecord::Base.default_timezone == :utc end |