Sha256: 5cf405abd58cfcada214367db6dca9302df3f50fbd8a030d07eed056ca42d7a0
Contents?: true
Size: 277 Bytes
Versions: 115
Compression:
Stored size: 277 Bytes
Contents
# frozen_string_literal: true module ActionView module Helpers module Tags # :nodoc: class DateField < DatetimeField # :nodoc: private def format_date(value) value.try(:strftime, "%Y-%m-%d") end end end end end
Version data entries
115 entries across 107 versions & 8 rubygems