Class: Dato::Local::FieldType::Date
- Inherits:
-
Object
- Object
- Dato::Local::FieldType::Date
- Defined in:
- lib/dato/local/field_type/date.rb
Class Method Summary collapse
Class Method Details
.parse(value, _repo) ⇒ Object
7 8 9 |
# File 'lib/dato/local/field_type/date.rb', line 7 def self.parse(value, _repo) value && ::Date.parse(value) end |