diff --git a/frontend/src/app/shared/types/model/Quarter.ts b/frontend/src/app/shared/types/model/Quarter.ts index cc97f785dd..2d1c8a67c1 100644 --- a/frontend/src/app/shared/types/model/Quarter.ts +++ b/frontend/src/app/shared/types/model/Quarter.ts @@ -19,6 +19,6 @@ export class Quarter { if (this.startDate === null || this.endDate === null) { return false; } - return this.startDate <= new Date() && this.endDate >= new Date(); + return new Date(this.startDate) <= new Date() && new Date(this.endDate) >= new Date(); } }