fix: wrong start date
This commit is contained in:
parent
71d0a35478
commit
b57d12a400
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ export class GradeService {
|
|||
|
||||
while (periodStartDate < startDate.plus({ months })) {
|
||||
const periodEndDate = periodStartDate.endOf('month')
|
||||
const periodColles = this.getPeriodColles(colles, startDate, periodEndDate)
|
||||
const periodColles = this.getPeriodColles(colles, periodStartDate, periodEndDate)
|
||||
|
||||
const periodAverage = this.calculateAverage(periodColles)
|
||||
const subjectAverages = await this.getSubjectAverages(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue