actualizar cada min
This commit is contained in:
parent
872268cb29
commit
ec692186d5
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
|||
.flatMap((d) => d.done.map((t) => ({ ...t, friend: d })))
|
||||
.sort((a, b) => b.started - a.started);
|
||||
const sTimer = timer(1000);
|
||||
const hTimer = timer(1000 * 60 * 60);
|
||||
const mTimer = timer(1000 * 60);
|
||||
</script>
|
||||
|
||||
<section>
|
||||
|
@ -51,7 +51,7 @@
|
|||
})
|
||||
)}
|
||||
hace
|
||||
{formatDistance($hTimer, new Date(thing.started + thing.took))}
|
||||
{formatDistance($mTimer, new Date(thing.started + thing.took))}
|
||||
</li>
|
||||
{/each}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue