Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 0d6e8edc2a
20 lines (17 sloc) 0.377 kB
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
Jump to Line
Something went wrong with that request. Please try again.