Sha256: ab8cf3f8586afda1aa0f5d640cf8e97808cb639fdc8894e474c7400a33331247
Contents?: true
Size: 377 Bytes
Versions: 180
Compression:
Stored size: 377 Bytes
Contents
module ActionView module Helpers module Tags # :nodoc: class DatetimeLocalField < DatetimeField # :nodoc: class << self def field_type @field_type ||= "datetime-local" end end private def format_date(value) value.try(:strftime, "%Y-%m-%dT%T") end end end end end
Version data entries
180 entries across 175 versions & 13 rubygems