You will need to parse the individual parameters in the controller and combine them to create the date and time.
I would suggest creating a model called StartTime to analyze it.
... application / models / start_time.rb
class StartTime
extend ActiveModel::Naming
attr_accessor :date, :time
def initialize(date, time)
@date = date.is_a?(String) ? Date.parse(date) : date
@time = time
end
def to_timestamp
end
Chronic - /
,