fix individual task time progress starting from 1970.
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -52,6 +52,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (fakeProject.tasks.length > 0) {
|
if (fakeProject.tasks.length > 0) {
|
||||||
|
fakeProject.createdTime = fakeProject.tasks.map(t => t.createdTime).sort()[0];
|
||||||
fakeProject.endTime = fakeProject.tasks[0].endTime;
|
fakeProject.endTime = fakeProject.tasks[0].endTime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user