app/importers/survey_note_importer/survey_reader.rb
# Timestamps have differnet formats if you download a Google Form as a CSV
# versus if you export that same form to Sheets (and then download that).
Timestamps have differnet formats if you download a Google Form as a CSV
versus if you export that same form to Sheets (and then download that).
Timestamps have differnet formats if you download a Google Form as a CSV versus if you export that same form to Sheets ( and then download that ) .
def parse_rows
    reset_counters!
    parsed_rows = []
    create_streaming_csv.each_with_index do |row, index|
      maybe_row = maybe_row(row, index)
      next if maybe_row.nil?
      parsed_rows << maybe_row
      @valid_rows_count +=1
    end
    {
      stats: stats,
      parsed_rows: parsed_rows
    }
  end
def parse_rows reset_counters! parsed_rows = [ ] create_streaming_csv . each_with_index do | row , index | maybe_row = maybe_row ( row , index ) next if maybe_row . nil? parsed_rows << maybe_row @valid_rows_count += 1 end { stats : stats , parsed_rows : parsed_rows } end
Timestamps have differnet formats if you download a Google Form as a CSV
versus if you export that same form to Sheets (and then download that).
Timestamps have differnet formats if you download a Google Form as a CSV versus if you export that same form to Sheets ( and then download that ) .