This commit is contained in:
Mikola
2024-01-12 19:12:01 +03:00
parent a24ce7d7a1
commit d08b6e9be8
4 changed files with 30 additions and 8 deletions

View File

@ -18,7 +18,11 @@ const ArchiveTasksItem = ({ task, index }) => {
</td>
<td className="archive__completeTask__time">
<p>
{new Date(task.timers.reduce((acc, cur) => acc + cur.deltaSeconds, 0) * 1000).toISOString().slice(11, 19)}
{new Date(
task.timers.reduce((acc, cur) => acc + cur.deltaSeconds, 0) * 1000
)
.toISOString()
.slice(11, 19)}
</p>
</td>
<td className="archive__completeTask__info">