Sha256: 71c58c11527ab02c8c33abc08a3b89e3f6a9b46c3cac9abf13c3e5e6e6ec2d27
Contents?: true
Size: 407 Bytes
Versions: 24
Compression:
Stored size: 407 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.try(:strftime, "%Y-%m-%dT%T") end end end end end
Version data entries
24 entries across 24 versions & 2 rubygems