Sha256: f0734cde55ab4d8d7fdda5c9cf848c119ed610f8667b8f86c70aeb9e11e841b5
Contents?: true
Size: 408 Bytes
Versions: 115
Compression:
Stored size: 408 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
115 entries across 107 versions & 8 rubygems