use the correct Date property
This commit is contained in:
parent
deec569c91
commit
bf39245874
@ -114,7 +114,7 @@ export class DownloadItem extends EventEmitter {
|
||||
|
||||
public destFull: string;
|
||||
|
||||
public date: number;
|
||||
public startDate: number;
|
||||
|
||||
public sessionId: number;
|
||||
|
||||
|
@ -179,7 +179,7 @@ export class Tooltip {
|
||||
this.name.textContent = item.destFull;
|
||||
this.from.textContent = item.usable;
|
||||
this.size.textContent = item.fmtSize;
|
||||
this.date.textContent = new Date(item.date).toLocaleString();
|
||||
this.date.textContent = new Date(item.startDate).toLocaleString();
|
||||
|
||||
const running = item.state === DownloadState.RUNNING;
|
||||
const hidden = this.eta.classList.contains("hidden");
|
||||
|
Loading…
x
Reference in New Issue
Block a user