method

datetime_selector

datetime_selector(options, html_options)
private

No documentation available.

# File actionpack/lib/action_view/helpers/date_helper.rb, line 844
        def datetime_selector(options, html_options)
          datetime = value(object) || default_datetime(options)

          options = options.dup
          options[:field_name]           = @method_name
          options[:include_position]     = true
          options[:prefix]             ||= @object_name
          options[:index]              ||= @auto_index
          options[:datetime_separator] ||= ' — '
          options[:time_separator]     ||= ' : '

          DateTimeSelector.new(datetime, options.merge(:tag => true), html_options)
        end