Sha256: 0b01d7def62d2a0e494d89bdec21ea1f41b01fea6d053e2b61f444077c24c8aa

Contents?: true

Size: 211 Bytes

Versions: 46

Compression:

Stored size: 211 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

46 entries across 46 versions & 1 rubygems

Version Path
dato-0.3.9 lib/dato/local/field_type/date.rb
dato-0.3.8 lib/dato/local/field_type/date.rb
dato-0.3.7 lib/dato/local/field_type/date.rb
dato-0.3.6 lib/dato/local/field_type/date.rb
dato-0.3.5 lib/dato/local/field_type/date.rb
dato-0.3.3 lib/dato/local/field_type/date.rb