IntervalStringFromDate: Fix date being a string
This commit is contained in:
parent
07dfee15eb
commit
4660f9a402
@ -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<string[]> {
|
||||
|
Loading…
Reference in New Issue
Block a user