diff --git a/Website/modules/Job.tsx b/Website/modules/Job.tsx index 984dda7..09709b7 100644 --- a/Website/modules/Job.tsx +++ b/Website/modules/Job.tsx @@ -5,7 +5,8 @@ import IProgressToken from "./interfaces/IProgressToken"; export default class Job { static IntervalStringFromDate(date: Date) : string { - return `${date.getDay()}.${date.getHours()}:${date.getMinutes()}:${date.getSeconds()}`; + let x = new Date(date); + return `${x.getDay()}.${x.getHours()}:${x.getMinutes()}:${x.getSeconds()}`; } static async GetAllJobs(apiUri: string): Promise {