select_time() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/helpers/date_helper.rb, line 649
      def select_time
        order = []

        # TODO: Remove tag conditional
        if @options[:tag]
          @options[:discard_month]    = true
          @options[:discard_year]     = true
          @options[:discard_day]      = true
          @options[:discard_second] ||= true unless @options[:include_seconds]

          order += [:year, :month, :day] unless @options[:ignore_date]
        end

        order += [:hour, :minute]
        order << :second if @options[:include_seconds]

        build_selects_from_types(order)
      end
Register or log in to add new notes.