First issue
:date_separator does not work in select_date. Mainly because it is not used when iterating over all elements of the date.
My little solution would be changing
options[:order].each do |o|
select_date << self.send("select_#{o}", date, options)
end
to
separator = ''
options[:order].each do |o|
select_date << separator + self.send("select_#{o}", date, options)
separator = options[:date_separator] || ''
end
So, separator is '' for the first date element, and :date_separator for the next elements.
Second issue
The documentation for the usage of :date_separator is incorrectly placed in the comment block for select_datetime and not select_date.
Third issue
There is no documentation for :datetime_separator in select_datetime.
PS: I hope the formatting of this ticket is correct. A preview function would be great. :/