blob: 9cdfc6991f5e369541a82599c2dcf904e89f3f5e (
plain) (
tree)
|
|
# frozen_string_literal: true
module ActionView
module Helpers
module Tags # :nodoc:
class DateField < DatetimeField # :nodoc:
private
def format_date(value)
value&.strftime("%Y-%m-%d")
end
end
end
end
end
|