Class: Decidim::Attributes::TimeWithZone

Inherits:
ActiveModel::Type::DateTime
  • Object
show all
Defined in:
lib/decidim/attributes/time_with_zone.rb

Overview

Custom attributes value to parse a String representing a Time using the app TimeZone.

Instance Method Summary collapse

Instance Method Details

#typeObject



8
9
10
# File 'lib/decidim/attributes/time_with_zone.rb', line 8

def type
  :"decidim/attributes/time_with_zone"
end