fix: Perfekt has not been removed

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

No files matched your search

+2 -3
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 {