Sha256: 1ab7fcb57d674491b8e57d4e3c6a9be538010fcb25d478a4072d1e292e80f905

Contents?: true

Size: 212 Bytes

Versions: 29

Compression:

Stored size: 212 Bytes

Contents

# frozen_string_literal: true

module Dato
  module Local
    module FieldType
      class Date
        def self.parse(value, _repo)
          value && ::Date.parse(value)
        end
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
dato-0.7.0 lib/dato/local/field_type/date.rb
dato-0.6.18 lib/dato/local/field_type/date.rb
dato-0.6.17 lib/dato/local/field_type/date.rb
dato-0.6.16 lib/dato/local/field_type/date.rb
dato-0.6.15 lib/dato/local/field_type/date.rb
dato-0.6.14 lib/dato/local/field_type/date.rb
dato-0.6.12 lib/dato/local/field_type/date.rb
dato-0.6.11 lib/dato/local/field_type/date.rb
dato-0.6.10 lib/dato/local/field_type/date.rb