You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: dates_interval_filter.rb
    path of file: ./repos/openproject/app/models/queries/days/filters
    
    the code of the file until where you have to start completion: #-- copyright
# OpenProject is an open source project management software.
#
    
  def from
    from, to = values.map { |v| v.blank? ? nil : Date.parse(v) }

    # Both from and to cannot be blank at this point
    if from.nil?
      from = to.at_beginning_of_month
    end