Class: Decidim::Attributes::LocalizedDate

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

Overview

Custom attributes value to parse a String representing a Date using the app localization format.

Instance Method Summary collapse

Instance Method Details

#typeObject



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

def type
  :"decidim/attributes/localized_date"
end