fix: Perfekt has not been removed

This commit is contained in:
Alexander Polynomdivision
2018-10-19 17:04:27 +02:00
parent 3293a876e3
commit 4ec41120dc
5 changed files with 45 additions and 37 deletions

View File

@@ -5,9 +5,8 @@ export interface ISchedulingData {
};
function dateInNDays(n: number): number {
let today = new Date();
today.setDate(today.getDate() + n);
return Date.parse(today.toString());
//@ts-ignore
return new Date(Date.now() + 1000 * 60 * 60 * 24 * n);
}
export enum AnswerType {