Sha256: 84995a0fc50be55a936a0d969f1a2421080730e44f3c85c44902251f539572b6
Contents?: true
Size: 402 Bytes
Versions: 75
Compression:
Stored size: 402 Bytes
Contents
# frozen_string_literal: true 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&.strftime("%Y-%m-%dT%T") end end end end end
Version data entries
75 entries across 71 versions & 6 rubygems