Update survey response data load to conform to survey response CSV standard

This commit is contained in:
Alex Basson 2021-09-24 10:52:29 -04:00
parent 16734f9ce7
commit 98e7f3ce57
6 changed files with 25 additions and 12 deletions

View file

@ -1,7 +1,7 @@
class AcademicYear < ActiveRecord::Base
def self.find_by_date(date)
if date.month > 7
if date.month > 6
ay_range_start = date.year
ay_range_end = date.year + 1
else