class ActionView::Helpers::Tags::TimeField

:nodoc:
:nodoc:

def format_datetime(value)

def format_datetime(value)
  if @include_seconds
    value&.strftime("%T.%L")
  else
    value&.strftime("%H:%M")
  end
end

def initialize(object_name, method_name, template_object, options = {})

:nodoc:
:nodoc:
def initialize(object_name, method_name, template_object, options = {})
  @include_seconds = options.delete(:include_seconds) { true }
  super
end