Skip to content

Commit

Permalink
[Custom population] Fix since-credits not working on Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
ShootingStar91 committed Jun 26, 2023
1 parent 4ef2c42 commit b99cadd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const GeneralTab = ({ group, populations, columnKeysToInclude, coursecode, filte
courses: s.courses.filter(c => new Date(c.date) > new Date(group?.tags?.year, 7, 1)),
})
}
const sinceDate = creditDateFilterOptions?.startDate || new Date('1.1.1970')
const sinceDate = creditDateFilterOptions?.startDate || new Date(1970, 0, 1)
const untilDate = creditDateFilterOptions?.endDate || new Date()

const credits = getStudentTotalCredits({
Expand Down

0 comments on commit b99cadd

Please sign in to comment.